From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2CD98C74A5B for ; Mon, 27 Mar 2023 01:54:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ZWTcMZfCCiaF82J8Ue/D42cDa2UEog3K3SsN9l5C8sU=; b=3iOmlopJrZmFv3 ZHtlwchPk6U/ZQIcLGrg93PkxvZHu8B9F2ZXKnMJOmLnrk3HpUq/Om9gIiWHkDT6Co2+1DZSxwYSj QJl0UUta5wO1nqj32dL3xxNdhNRHap1RnJnIAR0qv1aTC/o8nBs1/cYf9TCNZWGsUGWortLsGmoez 6yLWPahlEq2IR8mxuNXMXTr14r2ASQvH9BnkyKcFu3UQgDOmNMFVvf4qXjHE4PLgRu/NB3Xv3pHsV FmGria0RHJsxy5dW0AgXZqIpq3BOLab+DWk8uq+m7IVmO3tMw2vJPXAxPkU4JY7RMpJ1TBJlga7Np 2m0XryWwN4MKNf3yI+Zw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pgc3P-009UuZ-28; Mon, 27 Mar 2023 01:53:47 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pgc3M-009Utz-2h for linux-arm-kernel@lists.infradead.org; Mon, 27 Mar 2023 01:53:46 +0000 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 dfw.source.kernel.org (Postfix) with ESMTPS id B908060F3E; Mon, 27 Mar 2023 01:53:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6D809C433EF; Mon, 27 Mar 2023 01:53:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679882021; bh=4upYYzM6YBGbNm2pxz5vkbMZGWLCj58bWA01y4LnSZc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Ys44L3My8aBiO80AY0ihHBt6EaXB7hVn4yEMbSCiAhDA3axwiKPlhbfDqjGgzVDUQ LkOdlmEN8VrrtRf4V05z5xD1hVC+qgbJdE3Ush6mraJpJcfXWwOjHr5OsuWLOQIKd7 BteGVcQSE4eImHxrj7t/dHG66yNOCmzDyfoQiCEUMPfKa4RBrV3ExdbOqbYpLee5cN iN4W6FyXMClSpiiHCmAy73Yv6eKoysBQorkffu3WIqLQFtPAsy9BJ+vu0ruP5GYlQs 07ubQIRTQ0bU9mVzp99Dq+jwreP4g4Vo2+rKpREwp4SZ5GtVvOH/ooXp/T70JmwRwF rwNW0QGt1wAOA== Date: Mon, 27 Mar 2023 09:53:34 +0800 From: Shawn Guo To: "Peng Fan (OSS)" Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan , kernel test robot Subject: Re: [PATCH] soc: imx: imx8m-blk-ctrl: reordering the fields Message-ID: <20230327015334.GB3364759@dragon> References: <20230313004903.1997375-1-peng.fan@oss.nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230313004903.1997375-1-peng.fan@oss.nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230326_185344_914670_14775213 X-CRM114-Status: UNSURE ( 9.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Mar 13, 2023 at 08:49:03AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > The clang-analyzer reports: > "Excessive padding in 'struct imx8m_blk_ctrl_domain_data' > (12 padding bytes, where 4 is optimal). Optimal fields order: name, > clk_names, path_names, gpc_name, num_clks, num_paths, rst_mask, clk_mask, > mipi_phy_rst_mask, consider reordering the fields or adding explicit > padding members [clang-analyzer-optin.performance.Padding] > struct imx8m_blk_ctrl_domain_data {" > > So reordering the fields. > > Reported-by: kernel test robot > Signed-off-by: Peng Fan Applied, thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel