Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2233019rwl; Sun, 26 Mar 2023 18:56:59 -0700 (PDT) X-Google-Smtp-Source: AKy350ZfFKme4jpyZiV5bsx2+neIx1S2IGLBLvYo3Kb4bHjMohpsbanXZL7GjsBZZRGqjHk6QFdK X-Received: by 2002:a17:906:ecf1:b0:932:c1e2:9983 with SMTP id qt17-20020a170906ecf100b00932c1e29983mr10725700ejb.15.1679882219309; Sun, 26 Mar 2023 18:56:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679882219; cv=none; d=google.com; s=arc-20160816; b=r7inreUHHCw4wXvmHWiiSMEG8KCqWnfvUw7jhnqrYLlR/Yxv+WSeS42oLaq43/dgc7 Loe+A7F4mL2b29M+jWYYdUZc08tKCyMHk796iITM8wd+grNT0pyyCxGZP4KzISjlNOw1 ziS6o/vlcCAjFaPYyhVpEt2LwwxGw4hCnx67nyqdDY4zfxO7/PbUKboy0txMDGf16gmt 2d+t1blY/x3jHrm/HaAAzVVX8ffv4oiZjtj0SwAWJ2iMExr6UawHCzz6ppBtjJtEiD4Y b7H5aSpKmW8L6jQcFAOP80PYjPPeAXKMmofZNjKUe+t8gYNZtLOevKYzQCguRBX+Bn8F O9ww== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/Ro+nAaoul0WsiG6WuSyXIGgKl2nH4fKcU+YWI63lMo=; b=TqNNRBkS2I5cPkwo0+PdYX8z8Y7Tx9kUYdJDJHeg1NwXIBVUMfmjb2km9PLu3FJbC2 AZORsc7neGlFIvk2JbJGyMgL74g4lPxRgoSYNJW0CnVu6j3J7NmPisRyfU43dhQHknYb zHskda9NDMbLqMsTuaQQxYGaphF52+/bpITUJsVEBcB7EnJRKavMm9XqjjpC6AGo8lBh e3xUlofbOIgYIpL/xoYxwHU3JPxjHD1Tikn/UTGwwuXBlcKD70t71MNW6l2Bs6bM2XrS 0b4J+JivIqb67+kYBMpxAQZb6rFGAUmDUJjmt7loH9XbLJYkj6aWTVvZwu5o/xI+YfxZ t9Tg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ys44L3My; 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 n21-20020a1709062bd500b009276a433846si24239097ejg.652.2023.03.26.18.56.35; Sun, 26 Mar 2023 18:56:59 -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=Ys44L3My; 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 S229808AbjC0Bxq (ORCPT + 99 others); Sun, 26 Mar 2023 21:53:46 -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> X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 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!