Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp2218945rwi; Tue, 1 Nov 2022 05:24:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Fe+nOT55NTR4uITMZ0v+XdH4JykzdP8NBTXOLkcpU/bsPvFO2YFJfDqXs7WFnQnhzdhNI X-Received: by 2002:a05:6402:1553:b0:461:539d:9b88 with SMTP id p19-20020a056402155300b00461539d9b88mr18363404edx.286.1667305448448; Tue, 01 Nov 2022 05:24:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667305448; cv=none; d=google.com; s=arc-20160816; b=ykxvmWsD7MglCoqucAXgerxxrQqimIz+ona3hFl/2nWbVi3Y/9YjXxBW11DkzSlRt+ 77Ld9A96u0m00Hum3Nzf4fus9PZlBxyHhZoj59kUUj3mIFpBdc4OZpsd2yQmor9e0/T/ NO5fpozvVIgUt/2Jh9pZyp5avNYkIW5IIX9bvLHoVtpyF9Anjn2VF3ws71t016jdBprh pTr1RsI84VsP4J/s09Nwqti/Fk8JepNmz2U5j3NcUEooC1EJvQsdKP76bVIRuKkeLumb ZVt0Qxp6OwktvXbb8wt3UqHGwnErK8KdNvXkxEOp+IAHksw9/kHDaEVxn9NhuzTrodrd mBpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Wa23IVMYa+kCfF0O9k3r+oyVkXcfCtqO/5YdqfLNPyY=; b=gCP3r0zERk80JC9G7xuM2S8NfSM7/GyI8DaFLFcGYwrBDrb56yk/cjKppFvVej/10z lrsmGDQZZk4gNeATcS4QwGFJE7msYSRJ3SmDAV5XxdmDFIsCaFGljk4qaUhMxmg3My0A +Sm8vZkhSey04CsoWlDQ5V1n9rZfORBhBTH09Igrs0AXGQBWof02oWk+PDpPYzpdzMTA strsg6qMwdVBLrSswsJkCG8Dujb+VuAE7dYsHiV55o5v7nssA/pPExfNkUiVqSCUsvfs VAdTT2pzp+woCqJYGdF7ootdjnbxSVLFB8nj2myXArCiKgikN7MKgqgD698rKAb5Olhk csCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b0X8TrGo; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e10-20020a17090658ca00b0078de44dd61fsi12970096ejs.990.2022.11.01.05.23.44; Tue, 01 Nov 2022 05:24:08 -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=@kernel.org header.s=k20201202 header.b=b0X8TrGo; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230186AbiKAL4n (ORCPT + 97 others); Tue, 1 Nov 2022 07:56:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230073AbiKAL4k (ORCPT ); Tue, 1 Nov 2022 07:56:40 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 266B3C43; Tue, 1 Nov 2022 04:56:40 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CA2D7B81C9C; Tue, 1 Nov 2022 11:56:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C81EBC433C1; Tue, 1 Nov 2022 11:56:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667303797; bh=3Gbw2UZZJhp39VIc/j5rzxNESBVTn6BHioH52Hr/85s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=b0X8TrGomHpyhbg89JghPX9JWhpRs2+olb67gQK12Z9tmwl3FzmWIUaOio3TNtQKx /2mJwBcfPwfzrUOVc2LruqdvMTkWax95l4sx/NycJo2uwl03tGOzoXgnJs1h0pwLvI mC8iA3tJmpC3ph+OYzHwvJEQG/f+Jh6tXPfq0TG86PkwujL6j6aqHHEo4Ne1vKx5Vl gOVKUJQ5HOShc6sPW3e0V7zQ9ZPKT44rGgRxngWB8GRj76jh0cdUOZk8w58JwuDB/V 4vT13cuJiDSnhrehI1FPHLFFaANgIsGKHmltnIIpfz/x3x9glwQlfUB8Iuleb/p6cp F0zx+eMQkiJlg== Date: Tue, 1 Nov 2022 17:26:21 +0530 From: Manivannan Sadhasivam To: Frank Li 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: Re: [PATCH v14 2/7] PCI: endpoint: pci-epf-vntb: Fix indentation of the struct epf_ntb_ctrl Message-ID: <20221101115621.GF54667@thinkpad> References: <20221028155703.318928-1-Frank.Li@nxp.com> <20221028155703.318928-3-Frank.Li@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221028155703.318928-3-Frank.Li@nxp.com> X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SORTED_RECIPS,SPF_HELO_NONE,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: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 28, 2022 at 11:56:58AM -0400, Frank Li wrote: > From: Frank Li > > 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 > --- > 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 > -- மணிவண்ணன் சதாசிவம்