Message ID | 20221028155703.318928-3-Frank.Li@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp910231wru; Fri, 28 Oct 2022 09:01:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6i8aK3IChgkwAn9MiCdyBh/wrMUt5B+LxiUn6DMGnVvbAtN1EtwnBFnR2JmwyOG1qQX7OV X-Received: by 2002:a05:6638:138c:b0:364:4c3:eafc with SMTP id w12-20020a056638138c00b0036404c3eafcmr69003jad.163.1666972863058; Fri, 28 Oct 2022 09:01:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1666972862; cv=pass; d=google.com; s=arc-20160816; b=pj+8IShGPjIP42arVznGggLc4NwpshmtV8/atGKMvLldKhZnARGPwY6U8DTcjRDv5n 0RwAIHc3dMCv9MT4f4nNiUKZsMXOi0XNM3Bf/BSqBanj4lqftSB7PJz7U1NJ3Nmc82Tp mIQMC+tu+RbSy6gbwQSsOZAR9OGmQ60B25oAxSweW6FoIIbx6bqEW94dyvYYE16lVg/b xyzbi3NRTDq+aC3DAKA6jE9lirFsrqDku9Wg1FIuk9D/lhz/fN0vJzG9vCSxmiwrRcwv BmuiIqVhWgBU2GNhFG8qvla0k+FLaMyilM/ijdplk1ObzOZuwOhpHzYmrlcd/fJjAwyR 3z+w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=E0aTpYZBIayAJTU8Q7biEmzV0MnRHl78tQiUE5REJug=; b=WYuBODA0hdvawtuyAQTZxfRFh6HPUP4zGzWdYwO28JyZjrMedDmy7DXxC1vcd16xC0 ZztL3xQ+ORDgMu6dZ0Pnv2wjorGhFSo8y+fIaVfbxKL57CVgcBxPUjHDNdHDOU+S+zUa kzyF2rm6XM01p+0TrbI9QhidMFnjfOPucXoraDQsvLabURTeuGxFQmDVxx5d44Zc6GCf TZ1MJJxkphDuzvFYYPGn6hGZ5nZZjI4pkHaGKgwPlD5lf7KuqeAhsr2TubfQ4K31uDx2 tyDtxh+xUrcChtOjgHLM47OSKJr8/58VUKROBMS4WmoqG7H+9ntmV3Z0bLBWc+/rnoYn P6ng== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=UcvEaysd; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p2-20020a056a000b4200b0056334b72215si7114267pfo.86.2022.10.28.09.00.49; Fri, 28 Oct 2022 09:01:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=UcvEaysd; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230294AbiJ1P7j (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Fri, 28 Oct 2022 11:59:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230258AbiJ1P6T (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 28 Oct 2022 11:58:19 -0400 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2050.outbound.protection.outlook.com [40.107.249.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A87EA21553C; Fri, 28 Oct 2022 08:57:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SDYXbQBGST5MNktHqxV5DlNFvbIzyP069FlfhQGdZkVAsTGmvfoAAiZLMOJGnsbEvAgNN37398NRgDPA3FnkoITUbreWySxSO23y5aAq++zlCglz95UoVNirxlIGRzXkfyk4IIfVNMjeMyJngpyocP7IoT0fKIclH8lZYZ3dTpy6rt8c4asXcPFJfOpzXK4C9aMVBZIQnXR4eHmCNgDZ8u02xdBGYtNqa8J76Bb4DxSVwoyn4iYvkU0SJ1Cf1nfPylBYXaCOV2FuOAHk8QqmVPuyPZpdx3mFNpqLozUJpoVzxoGxf4ZLuEBlLoD3beueKm6e3myZ8wxybNNCG37ZkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=E0aTpYZBIayAJTU8Q7biEmzV0MnRHl78tQiUE5REJug=; b=UmsRE7JYL91Ytw2OrKdhwBpwFPYphHJIfiWXdUZFhC6kK/B2/jKR1Bj4888tTlu7eZOdtvz52IQ23Eg9JRmpnXUpLIlgd+wJaWrnRFuhwVChXwuwq7hVcKMP7vt06qn/CoD+QXit+CaQj6CfBvd/auYgCvko1En62qdrc2mNsyHfRwQAIondgzFOJG38n2Epv1QIuiCcrf0u/7bO86N6P8tsAKzzHLm4n2KyjMEyq6QV2R3oEFwlA8KHwhdviUxsik8EUDgMB1Pg1mZcJOu+A5hzUUSnVMgcQ/5QugP1Hz9UO0EUgkZ/QS4AN93+5oZKsmL3mtkn41c/fWs/+iHLFA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=E0aTpYZBIayAJTU8Q7biEmzV0MnRHl78tQiUE5REJug=; b=UcvEaysdP096NIeDxlocT9UVZ0l1SyVeeDSHBJQe/+tRrODja4AlneQPTNHJMHJZKu/zLXyM2Wl5G8v2/1++j+qMyJt9P+pfwuMotqvrsVU4lfflMEsHJSIfsb5FEL6bojiWG5OFDSJfyLKz1qO/axDH+FrQaOaA48LyBlh2guA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from HE1PR0401MB2331.eurprd04.prod.outlook.com (2603:10a6:3:24::22) by AM9PR04MB8323.eurprd04.prod.outlook.com (2603:10a6:20b:3e5::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.15; Fri, 28 Oct 2022 15:57:34 +0000 Received: from HE1PR0401MB2331.eurprd04.prod.outlook.com ([fe80::44bb:8387:8f4b:6a28]) by HE1PR0401MB2331.eurprd04.prod.outlook.com ([fe80::44bb:8387:8f4b:6a28%10]) with mapi id 15.20.5746.028; Fri, 28 Oct 2022 15:57:34 +0000 From: Frank Li <Frank.Li@nxp.com> To: frank.li@nxp.com Cc: allenbh@gmail.com, bhelgaas@google.com, dave.jiang@intel.com, helgaas@kernel.org, imx@lists.linux.dev, jdmason@kudzu.us, kw@linux.com, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, lpieralisi@kernel.org, mani@kernel.org, ntb@lists.linux.dev Subject: [PATCH v14 2/7] PCI: endpoint: pci-epf-vntb: Fix indentation of the struct epf_ntb_ctrl Date: Fri, 28 Oct 2022 11:56:58 -0400 Message-Id: <20221028155703.318928-3-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221028155703.318928-1-Frank.Li@nxp.com> References: <20221028155703.318928-1-Frank.Li@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BYAPR02CA0010.namprd02.prod.outlook.com (2603:10b6:a02:ee::23) To HE1PR0401MB2331.eurprd04.prod.outlook.com (2603:10a6:3:24::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: HE1PR0401MB2331:EE_|AM9PR04MB8323:EE_ X-MS-Office365-Filtering-Correlation-Id: fe2cafe4-32ae-4bf6-7741-08dab8fd2086 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aLn8pjM2g6/A/qQIpVh8Y4JVOslOjq0DkyjZMMppdRQXVY/3wDpOfmHapd4JGVaFdmSaNnXK2bcEKFHvdmXuVtZf2HgtHipPwWA+wn9zhaIYXhFgb3IuQQNwakPfeMAQ+Wtg3u9+5swEOFRM21GtNKtvMqogLYH0u5fPVGO/vMF1/V/V254XTX83wXgSLGBuXY/JlgdT/kyvnLFIQOuhgeIch1jtFrZafSdysh1qVw1dVfDXbTa9amUITZ0IqRe1G/d5Y3EesIz3lfY3FkYpLPfGMcmcfuEndzqrx49pru93JCMvoNuNToIu4XftR9lBC2YJuKu1U6xGlCwHqT/clbGZDSwAeadY9s62I2ClcKNOC+HyVeqmls84MWveNzpC1J8VQBakJwjDYFUTaY6Ytx/m4RQUo32WJx6AvcAQZtWZp4S053vSfkKG3jvVnGV4eE7xaVfHzGFEw0SleXvv37B8MmCTmQ+1Lr/A3Z/8SX6RC7eD8Lcor0ZfAFni0vPfTLwZYN0NReVZLoS+ybB/FPXzXvPf5xyvCvV2Dxp6LyFIZKYunBuKH64yHYGJ6jQfg7BDWIlNZpIk+Kbft4vOWuy6Y1iPrwCT3d/Y5xewpfvkUeUb49lHlXVZH1Ai0UnBo1EkdRthG6FOd4KrpivnsfihRXqoE1H/ZcLxJ0UAtG5n/7GoWhTNUgP/HU/QEsT6DF7Ou6/g4iPsjyJhc61sTx9jPztnH3vGtukmc7kuxBcgAxgNB0wCV/wO/jNZLWI2BIdN2PYk53TbglIQY4RRVA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HE1PR0401MB2331.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(136003)(346002)(366004)(396003)(39860400002)(376002)(451199015)(6666004)(316002)(37006003)(34206002)(8936002)(5660300002)(4326008)(2616005)(186003)(1076003)(7416002)(8676002)(52116002)(36756003)(6506007)(66476007)(66946007)(66556008)(6512007)(26005)(41300700001)(83380400001)(86362001)(38100700002)(2906002)(38350700002)(6486002)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: O5U6nsimmvxBEZBNnK21dS8Qno0uX/KEhhlXigb/zO/t7e5ykYSCde7+EbKX+qr5jsi5sWDhgM5a7urXLmanGfDk5rHiI1u2suNApM3nK8zhcRcYD9TiyexgkJgrvH2G9UAZzo0pqwhh3TC0EArH0VSd2apqFKdljMu/8/xvZHQszVnzDYSg4yMxMgASXPRVr2a/BPqml/EG6iFj/lkhzYde3VajfFqSb2bE58E44PRJHP2JElu9fT4j+Lr3h1dPlb6DrMqO7u06QxQ6qULNSRWoVCK4d8kitKcBMlo3J2Wm6bp+l4TrSyMqZVLa/aDs0IFvtVn9zjP0he1+ARwYgLwtcDhyWs68qvgNF8mmtrPurN/X/+05zi3qwXD5Ts3Tuf8jihVKo6wrfQym5muKKEJl9z45i6Ycxys3y1FqoLN6hqfyBx+9RaHMRz7Pd3gh/edXmPsUw2VAnPNjFcfKnn+12GFtbFxY1PVrL2tTiq0GvaezBEJieFsT0U0g7bALg54CaycfmswazOpsuU1fR/xqvERVS9xLRGxi/MWfP1rneUBM1ftOZmLVllBB9uYAZeP1oY6vAZ27hN4jq8N0hAs98NdRAOal+KMYGbseSbuWZIqnbl0OXaxhHynfz0JjzB7MQtz+q/blwmmA5xM8zsC8qLCcybTEFrjs5SgFXOw17VZK2ZlB54BXFwo8eho1Gf7tFZaKIGjeDWX0b6t0gxp4jCJGg4qmGmpjziGZpNVsxjmebaNarS83LgljJwu92Uje2SvkunkzCv6aXnJG5cog6D9Ac7wmjK23xUZK9sKh0XG2Mm4/diBK361VwlEoYqzOMZf3VlQrEdEfvhVGIqw3bOXK/7AgL2cWXu/8mIFbDdzrX7NE/P7iv8/inZk3IyjDbFxAJHXKxWbx++zz/ebs/4BsgQPnHCIl6uSZlI8y9T+vhMocC+sYvYSUDWoNTpX1sGqxyXBLe+LIhsqSsOly1STFln/mxB45+cpVovCGjc8ghdUqLHTtZxekwHaEptVnLnzSlf3Q0Jht8E24EZMHo9SMB4mIn/yPXtXDrvKwkrB0a/Zv023LcnUoUawvaXZ8+6gWg7a6toL/iPlTpezONDPKr3kMIRbe61+ehqUz0wFjlm7534f04OxyAkKPk7fE36lo9FexHvrgMGOOiUjdiufqQ/z/lRkRVF2cJmTUk5HpbysQnhXpCzWhslq9ca86e+kG2B69l8ZpyeboPyML5QV1EPWhlY5P+EG5VZNb4c/1bMICQ0IudmVytFZZHnXUaNRrd+deWNaHOFm/MMbsNx5ZBihqIGyoYvLkCM8zpBB7oYdSDWDATfCiCTdShy9Jwyc2lh+zo6TAOdDSeU3bAxMPzYfSFG7TB6uJUPlrGhDDlAvxkKIFGEyH7YQhFGO8MwFXJbpo5fu7g93wwRU35UCbdgtCwGFQecEunUjYTlc8v/Uz7w648GpKWE/+ljbLk8/bGg0IgBx00bwCxVhRWyn+tfh1QAHcoXuQTvBzzY4KXa10Pu0l1enng7F5cg05heNvE07ba7/CUPMXsL1Vkb7uNW58bhicxUSLzxI= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fe2cafe4-32ae-4bf6-7741-08dab8fd2086 X-MS-Exchange-CrossTenant-AuthSource: HE1PR0401MB2331.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2022 15:57:34.2485 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: e923BGN62rLDEicJsUhURDWbCti61jC3k0hflsOli2qb1B43vXQ9zaYAFcCYbd9N0I0z/tevzGsQwvShwGiqNA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8323 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747947736734286615?= X-GMAIL-MSGID: =?utf-8?q?1747947736734286615?= |
Series |
pci-epf-vntb clean up
|
|
Commit Message
Frank Li
Oct. 28, 2022, 3:56 p.m. UTC
From: Frank Li <frank.li@nxp.com> Indentation of the struct epf_ntb_ctrl align with other struct Signed-off-by: Frank Li <frank.li@nxp.com> --- drivers/pci/endpoint/functions/pci-epf-vntb.c | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-)
Comments
On Fri, Oct 28, 2022 at 11:56:58AM -0400, Frank Li wrote: > From: Frank Li <frank.li@nxp.com> > > Indentation of the struct epf_ntb_ctrl align with other struct > "Align the indentation of struct epf_ntb_ctrl with other structs in the driver" > Signed-off-by: Frank Li <frank.li@nxp.com> > --- > drivers/pci/endpoint/functions/pci-epf-vntb.c | 28 +++++++++---------- > 1 file changed, 14 insertions(+), 14 deletions(-) > > diff --git a/drivers/pci/endpoint/functions/pci-epf-vntb.c b/drivers/pci/endpoint/functions/pci-epf-vntb.c > index c0115bcb3b5e..1863006cc36c 100644 > --- a/drivers/pci/endpoint/functions/pci-epf-vntb.c > +++ b/drivers/pci/endpoint/functions/pci-epf-vntb.c > @@ -99,20 +99,20 @@ enum epf_ntb_bar { > * NTB Driver NTB Driver > */ > struct epf_ntb_ctrl { > - u32 command; > - u32 argument; > - u16 command_status; > - u16 link_status; > - u32 topology; > - u64 addr; > - u64 size; > - u32 num_mws; > - u32 reserved; > - u32 spad_offset; > - u32 spad_count; > - u32 db_entry_size; > - u32 db_data[MAX_DB_COUNT]; > - u32 db_offset[MAX_DB_COUNT]; > + u32 command; > + u32 argument; > + u16 command_status; > + u16 link_status; > + u32 topology; > + u64 addr; > + u64 size; > + u32 num_mws; > + u32 reserved; > + u32 spad_offset; > + u32 spad_count; > + u32 db_entry_size; > + u32 db_data[MAX_DB_COUNT]; > + u32 db_offset[MAX_DB_COUNT]; General question: Don't we need to take care of endianess here? Thanks, Mani > } __packed; > > struct epf_ntb { > -- > 2.34.1 >
> -----Original Message----- > From: Manivannan Sadhasivam <mani@kernel.org> > Sent: Tuesday, November 1, 2022 6:56 AM > To: Frank Li <frank.li@nxp.com> > Cc: allenbh@gmail.com; bhelgaas@google.com; dave.jiang@intel.com; > helgaas@kernel.org; imx@lists.linux.dev; jdmason@kudzu.us; > kw@linux.com; linux-kernel@vger.kernel.org; linux-pci@vger.kernel.org; > lpieralisi@kernel.org; ntb@lists.linux.dev > Subject: [EXT] Re: [PATCH v14 2/7] PCI: endpoint: pci-epf-vntb: Fix > indentation of the struct epf_ntb_ctrl > > Caution: EXT Email > > On Fri, Oct 28, 2022 at 11:56:58AM -0400, Frank Li wrote: > > From: Frank Li <frank.li@nxp.com> > > > > Indentation of the struct epf_ntb_ctrl align with other struct > > > > "Align the indentation of struct epf_ntb_ctrl with other structs in the driver" > > > Signed-off-by: Frank Li <frank.li@nxp.com> > > --- > > drivers/pci/endpoint/functions/pci-epf-vntb.c | 28 +++++++++---------- > > 1 file changed, 14 insertions(+), 14 deletions(-) > > > > diff --git a/drivers/pci/endpoint/functions/pci-epf-vntb.c > b/drivers/pci/endpoint/functions/pci-epf-vntb.c > > index c0115bcb3b5e..1863006cc36c 100644 > > --- a/drivers/pci/endpoint/functions/pci-epf-vntb.c > > +++ b/drivers/pci/endpoint/functions/pci-epf-vntb.c > > @@ -99,20 +99,20 @@ enum epf_ntb_bar { > > * NTB Driver NTB Driver > > */ > > struct epf_ntb_ctrl { > > - u32 command; > > - u32 argument; > > - u16 command_status; > > - u16 link_status; > > - u32 topology; > > - u64 addr; > > - u64 size; > > - u32 num_mws; > > - u32 reserved; > > - u32 spad_offset; > > - u32 spad_count; > > - u32 db_entry_size; > > - u32 db_data[MAX_DB_COUNT]; > > - u32 db_offset[MAX_DB_COUNT]; > > + u32 command; > > + u32 argument; > > + u16 command_status; > > + u16 link_status; > > + u32 topology; > > + u64 addr; > > + u64 size; > > + u32 num_mws; > > + u32 reserved; > > + u32 spad_offset; > > + u32 spad_count; > > + u32 db_entry_size; > > + u32 db_data[MAX_DB_COUNT]; > > + u32 db_offset[MAX_DB_COUNT]; > > General question: Don't we need to take care of endianess here? [Frank Li] you are right. But it is out of scope of this patch. We can add it later. > > Thanks, > Mani > > > } __packed; > > > > struct epf_ntb { > > -- > > 2.34.1 > > > > -- > மணிவண்ணன் சதாசிவம்
diff --git a/drivers/pci/endpoint/functions/pci-epf-vntb.c b/drivers/pci/endpoint/functions/pci-epf-vntb.c index c0115bcb3b5e..1863006cc36c 100644 --- a/drivers/pci/endpoint/functions/pci-epf-vntb.c +++ b/drivers/pci/endpoint/functions/pci-epf-vntb.c @@ -99,20 +99,20 @@ enum epf_ntb_bar { * NTB Driver NTB Driver */ struct epf_ntb_ctrl { - u32 command; - u32 argument; - u16 command_status; - u16 link_status; - u32 topology; - u64 addr; - u64 size; - u32 num_mws; - u32 reserved; - u32 spad_offset; - u32 spad_count; - u32 db_entry_size; - u32 db_data[MAX_DB_COUNT]; - u32 db_offset[MAX_DB_COUNT]; + u32 command; + u32 argument; + u16 command_status; + u16 link_status; + u32 topology; + u64 addr; + u64 size; + u32 num_mws; + u32 reserved; + u32 spad_offset; + u32 spad_count; + u32 db_entry_size; + u32 db_data[MAX_DB_COUNT]; + u32 db_offset[MAX_DB_COUNT]; } __packed; struct epf_ntb {