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 X-Spam-Level: X-Spam-Status: No, score=-6.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21A21C4338F for ; Sat, 21 Aug 2021 04:38:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ED0AE61181 for ; Sat, 21 Aug 2021 04:38:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229922AbhHUEj0 (ORCPT ); Sat, 21 Aug 2021 00:39:26 -0400 Received: from mga04.intel.com ([192.55.52.120]:23152 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229544AbhHUEjZ (ORCPT ); Sat, 21 Aug 2021 00:39:25 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10082"; a="215032545" X-IronPort-AV: E=Sophos;i="5.84,338,1620716400"; d="scan'208";a="215032545" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Aug 2021 21:38:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,338,1620716400"; d="scan'208";a="463577809" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga007.jf.intel.com with ESMTP; 20 Aug 2021 21:38:46 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Fri, 20 Aug 2021 21:38:45 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Fri, 20 Aug 2021 21:38:45 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Fri, 20 Aug 2021 21:38:45 -0700 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.48) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Fri, 20 Aug 2021 21:38:45 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I5L8cM4DD8awj58FFJv68tNsR+YeOBhH4pEaW5wHJ9zJSLRP04Zf1UPEkx/UDBB8n8RBbsiC1lHTcR5Xl5+CoKyhj14b8NtWr47DparNuvwAX93xkMlHb8nnagKczNdVHfirvjVYgyS/71tju2N+S1OTenV73a4Y3N4sZHUwCxWTeZKC222xJBE/o3J69esT0juZ+a0TCSf3ktg6mUlCXtnaVZn2xWwH+zV7eiQ2VhT51MV54ukex3beqrZ4WkLOIDvtGxu3vN9f7c3QPb+qsrWa7JrWAoVy2fkjwDkuEdIVmXiG2LZhmj4PV6kdYjwAuXgLz9zycT8rjHMYFrTgDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JxthdGIF/uWY9mgIDw2Kem9RImitvxoFb/6M36hW5x8=; b=lHFCkTi/FCgpmAJknzBjvYon4Q3zcN+USXz6FHcmw+8mP0hqjjq0CcV80s9gZNT8OvZtzxWUSFla1gMz7XlmgLPkTW/2mK0d5V1O3+FceNtY/azYTAj3l21EJbLcEIclpntApbC+Ij1T9exMkE7Yymxw4foQw7+kQqXtaJ6sLAwk8eoa2rNrMNqV8dIN1KAJoOGiuBscaRRcLGWphkKG9yovr/GXsbFHFw5vOuwo5RDnT6BNNPlczXHLra2T9zoyUm4kzl1oUf/eGENxjgCrk/BZnOXhCzAqD6SDNeSTdKCLUOpPO28vGi2TE3wVeRXFmn4HPWEtidIVkWf0QbW2JA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JxthdGIF/uWY9mgIDw2Kem9RImitvxoFb/6M36hW5x8=; b=S8IYKtfN35elNMEoOuZgYdTTo+KRjMtyHjai1vJgTtunEds2rrU4xtZkcGv5rSE81Glv2lP+sLu93Q6j68lQdK3TKQ8GRoWViiw/E7sf0NNE0KfcKU7yvz84DrEmPa8nC5sj1fu6sBNraTOHrbe7+nCBzAJ2DD6ETA9DYYeZRos= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=intel.com; Received: from SJ0PR11MB5598.namprd11.prod.outlook.com (2603:10b6:a03:304::12) by SJ0PR11MB5662.namprd11.prod.outlook.com (2603:10b6:a03:3af::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.19; Sat, 21 Aug 2021 04:38:44 +0000 Received: from SJ0PR11MB5598.namprd11.prod.outlook.com ([fe80::b9bb:3f44:3f2d:5a4f]) by SJ0PR11MB5598.namprd11.prod.outlook.com ([fe80::b9bb:3f44:3f2d:5a4f%9]) with mapi id 15.20.4436.019; Sat, 21 Aug 2021 04:38:44 +0000 Message-ID: <5cf8d0df-0fb7-5b91-53b2-9ceadbc23a7b@intel.com> Date: Sat, 21 Aug 2021 12:38:35 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.0.1 Subject: Re: [kbuild] drivers/regulator/bd718x7-regulator.c:531:8: warning: Excessive padding in 'struct bd718xx_regulator_data' (8 padding bytes, where 0 is optimal). Content-Language: en-US To: Mark Brown CC: Matti Vaittinen , Cristian Marussi , , , Linux Kernel Mailing List References: <202108172206.9cbgvI53-lkp@intel.com> <4dabc78a-f9ee-4e7d-8bf3-ea1c6cef8530@intel.com> <422ade1b-8e88-d6dc-ae4e-799e729932b7@intel.com> <20210819152353.GN4177@sirena.org.uk> From: kernel test robot In-Reply-To: <20210819152353.GN4177@sirena.org.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: HK2PR0401CA0022.apcprd04.prod.outlook.com (2603:1096:202:2::32) To SJ0PR11MB5598.namprd11.prod.outlook.com (2603:10b6:a03:304::12) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.2.125] (183.195.25.149) by HK2PR0401CA0022.apcprd04.prod.outlook.com (2603:1096:202:2::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.19 via Frontend Transport; Sat, 21 Aug 2021 04:38:41 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7e7f10a9-c6f3-4532-b11c-08d9645d8ea6 X-MS-TrafficTypeDiagnostic: SJ0PR11MB5662: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ANauXG7K9PAPZk8muWuxEufRK/ozVai3zj9OHwyDD/9wDnRC9w6wt1Vma5Gm2aTBxJbibj6J1YfqcZzbsxsQbQ8DohDSy1fydGGNXN0bLcgEyOw95Nzi7HZiKxZjvtxcvPeLMcqbprsos0UXTwkofGcXaOHpop1LTRmtHEzzolulSmnLBUEEJPsahPoZ+xmqCE5WmUKBB+nlvPHCimQsCXRQb6zzzbl0zuMfjU1jJVMMyxCbSSW0RRfCF0j92jP7KhRxEpr4Nq0qAWl+etX+DSjnXYIWHrFFXuqFRIsYtMJJ7rqRO3fkVzmqmcyZR6sUd9mpGOs6BRXAnye14hLfFjgkxgK6nAtskNzAfXW286BFROBpadgSIAnrYVscxLHvkuhGD4yDgXvtnGMN/lHOUjdmf6tPdkeze2HVY1tEbpQSolN2/kl2IHHDtBJlstBK8a35FYamIgEf8wkKBMJjYNBtiB35w8CgVlkDWzikfZQ80WQ5979MFZRi4oL2+Em2H4JK+zpHK83ztMqy5VAzGunc8lnmxzVV+1eBPGkLMQg/RnM5UyWmbBw3m3MRXmvobvwRHkmFZht0vqll2EyufIN/CwRqV320C58oHJ8vZq9J++C/LPcSOlFSXSx8P16GMtjKLtyDCcEoFwysiOHfzmq+Al8KdpC8HngasgmfHm/a+/4iB1oF+iRy0MpcL3UaScq9Bv/JK928/4Fm2UohrxGbgvOcBBpf4OR8jM8+5Pg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR11MB5598.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(396003)(136003)(39860400002)(346002)(376002)(478600001)(956004)(316002)(6486002)(66476007)(54906003)(38100700002)(16576012)(66556008)(8676002)(2616005)(53546011)(6666004)(86362001)(2906002)(66946007)(6916009)(4326008)(31696002)(83380400001)(8936002)(36756003)(5660300002)(31686004)(4744005)(26005)(186003)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Sm1iZWliK2hXaW1udE43OVFOWXZNR3pkNlRPTzIrMzQ5Wk4rOEZjYVJ0YjBX?= =?utf-8?B?SlFBSlRWWVNTQ1krSDJPczRQOUVzelhmM0hWenpnN2tHTXlsR01rNnNQcTF2?= =?utf-8?B?ck9oQ3hZUWZ5OGxERVNXSzZmc3EyZy9UeEJ5WldqNVR2OVdjaFhFZFd6RW9n?= =?utf-8?B?NytkOVRpek1ia1VBRW4wblliQjVOdWQ3ZDJGNGRQbFkxa1BpNmJNcmg0Mzhi?= =?utf-8?B?TmZrQ3BVSlNSRU8vUEZ6dHVDc0xtYjlIM3A2eEdrbXRxVEJmNmxmZXFoYkJE?= =?utf-8?B?QVdzZUw0VWhtUkdFR1ZuSHJmNzV1U2tOdCs3WFlkTWx6eTFKU0I1WFJVVGRX?= =?utf-8?B?L1ZPUENMWkNKd1RFVHJVUjAzMVVFMFRZcno4UTFwSTVsMjNKUWtyeTVTWmJi?= =?utf-8?B?YjM1RzhpRFA1ODNYSWZQcXd3UDIyRGpTSW9sbWlKcHJOZEU5RXYzWkxMTmJJ?= =?utf-8?B?K3VtYXkza2pxRk9EUEpHWWtmVks0L1JNZ0xCeUN1UE9xdTVySGJkZEl5VUVC?= =?utf-8?B?d3ZkZE9IZXJHdGR6V203NUZwUGdJbXk0RW9vL2xuT1pDY2lyTXRqMXRFdDkv?= =?utf-8?B?WU1rdDhwZEplby9TQ05ucWJHY2tZNVFZSlFuRlM3ZTJyMTllSkpmSE9lQzJM?= =?utf-8?B?bjdZUlVZb2NNNnVJaWVCQ2pJbGFnYVZhZjlJcUgrZkYvZDlDMXkxZlk3WWNE?= =?utf-8?B?ME9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M2Jn?= =?utf-8?B?ai9IMVVOMXc5eS9rZWgrVGU3TmdXeHdEMzhNSGVSQVhKNjhzS3NCSFY0MHZv?= =?utf-8?B?S0NIck9VS0VyelFyVjlUVlZBVjh6bWRVaytUMHhHRXZCSVF2QlQ0bjJZek9B?= =?utf-8?Q?jcy9rN+o122KKQQ43elFIJGEOyPoV4QS4zHAP7s?= X-MS-Exchange-CrossTenant-Network-Message-Id: 7e7f10a9-c6f3-4532-b11c-08d9645d8ea6 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR11MB5598.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Aug 2021 04:38:44.2250 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: YszwBBHtaoU7gKM0LBoMjfmZmKr3yNNBp8qLoYIjbmwJqggBFqYIdRYdQxJ6umbuEfNhLsgBcRUbtTAdtDBHjg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB5662 X-OriginatorOrg: intel.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mark, On 8/19/2021 11:23 PM, Mark Brown wrote: > On Thu, Aug 19, 2021 at 10:49:13PM +0800, kernel test robot wrote: > >> Sorry for bothering, we'll ignore struct padding warnings next time. > > I think the warnings are useful, it's just that they're not important > for all structs. If the struct was getting allocated a lot it could be > pointing out an issue that makes a real difference. I'm not sure it s > realistic for automation to figure it out for itself so it's better to > send them even if they get ignored a lot. > It's not very practical for automation to figure out how many copies of a struct would be created and how much space would be saved in total by adjusting struct padding. For similar warnings in the future, we'll make an effort to do manual check first, and send out reports that we think are worthy of notice. Best Regards, Yujie Liu From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============8534995894926119874==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [kbuild] drivers/regulator/bd718x7-regulator.c:531:8: warning: Excessive padding in 'struct bd718xx_regulator_data' (8 padding bytes, where 0 is optimal). Date: Sat, 21 Aug 2021 12:38:35 +0800 Message-ID: <5cf8d0df-0fb7-5b91-53b2-9ceadbc23a7b@intel.com> In-Reply-To: <20210819152353.GN4177@sirena.org.uk> List-Id: --===============8534995894926119874== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Mark, On 8/19/2021 11:23 PM, Mark Brown wrote: > On Thu, Aug 19, 2021 at 10:49:13PM +0800, kernel test robot wrote: > = >> Sorry for bothering, we'll ignore struct padding warnings next time. > = > I think the warnings are useful, it's just that they're not important > for all structs. If the struct was getting allocated a lot it could be > pointing out an issue that makes a real difference. I'm not sure it s > realistic for automation to figure it out for itself so it's better to > send them even if they get ignored a lot. > = It's not very practical for automation to figure out how many copies of = a struct would be created and how much space would be saved in total by = adjusting struct padding. For similar warnings in the future, we'll make an effort to do manual = check first, and send out reports that we think are worthy of notice. Best Regards, Yujie Liu --===============8534995894926119874==--