lkml.org 
[lkml]   [2023]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] soc: imx: imx8m-blk-ctrl: reordering the fields
On Mon, Mar 13, 2023 at 08:49:03AM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan@nxp.com>
>
> 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 <lkp@intel.com>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>

Applied, thanks!

\
 
 \ /
  Last update: 2023-03-27 03:54    [W:0.063 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site