From patchwork Fri Oct 28 15:56:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13023890 X-Patchwork-Delegate: lorenzo.pieralisi@arm.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88D89FA3745 for ; Fri, 28 Oct 2022 15:59:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229765AbiJ1P7I (ORCPT ); Fri, 28 Oct 2022 11:59:08 -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 ); 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 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> 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: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Z8+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 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org From: Frank Li Indentation of the struct epf_ntb_ctrl align with other struct Signed-off-by: Frank Li --- 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]; } __packed; struct epf_ntb {