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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B377C7619A for ; Mon, 27 Mar 2023 01:53:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230351AbjC0Bxs (ORCPT ); Sun, 26 Mar 2023 21:53:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229564AbjC0Bxn (ORCPT ); Sun, 26 Mar 2023 21:53:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B31A955B8 for ; Sun, 26 Mar 2023 18:53:42 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 1F91760F91 for ; Mon, 27 Mar 2023 01:53:42 +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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230313004903.1997375-1-peng.fan@oss.nxp.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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!