[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202508240539.ARmC1Umu-lkp@intel.com>
Date: Sun, 24 Aug 2025 05:53:22 +0800
From: kernel test robot <lkp@...el.com>
To: Lance Yang <lance.yang@...ux.dev>, akpm@...ux-foundation.org,
fthain@...ux-m68k.org, geert@...ux-m68k.org, mhiramat@...nel.org,
senozhatsky@...omium.org
Cc: oe-kbuild-all@...ts.linux.dev, lance.yang@...ux.dev,
amaindex@...look.com, anna.schumaker@...cle.com,
boqun.feng@...il.com, ioworker0@...il.com, joel.granados@...nel.org,
jstultz@...gle.com, kent.overstreet@...ux.dev,
leonylgao@...cent.com, linux-kernel@...r.kernel.org,
linux-m68k@...ts.linux-m68k.org, longman@...hat.com,
mingo@...hat.com, mingzhe.yang@...com, oak@...sinkinet.fi,
rostedt@...dmis.org, tfiga@...omium.org, will@...nel.org,
stable@...r.kernel.org
Subject: Re: [PATCH 1/1] hung_task: fix warnings by enforcing alignment on
lock structures
Hi Lance,
kernel test robot noticed the following build warnings:
[auto build test WARNING on tip/locking/core]
[also build test WARNING on akpm-mm/mm-everything sysctl/sysctl-next linus/master v6.17-rc2 next-20250822]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Lance-Yang/hung_task-fix-warnings-by-enforcing-alignment-on-lock-structures/20250823-164122
base: tip/locking/core
patch link: https://lore.kernel.org/r/20250823074048.92498-1-lance.yang%40linux.dev
patch subject: [PATCH 1/1] hung_task: fix warnings by enforcing alignment on lock structures
config: x86_64-buildonly-randconfig-001-20250823 (https://download.01.org/0day-ci/archive/20250824/202508240539.ARmC1Umu-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250824/202508240539.ARmC1Umu-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202508240539.ARmC1Umu-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from sound/soc/codecs/mt6660.c:15:
>> sound/soc/codecs/mt6660.h:28:1: warning: alignment 1 of 'struct mt6660_chip' is less than 8 [-Wpacked-not-aligned]
28 | };
| ^
>> sound/soc/codecs/mt6660.h:25:22: warning: 'io_lock' offset 49 in 'struct mt6660_chip' isn't aligned to 8 [-Wpacked-not-aligned]
25 | struct mutex io_lock;
| ^~~~~~~
vim +28 sound/soc/codecs/mt6660.h
f289e55c6eeb43 Jeff Chang 2020-01-16 19
f289e55c6eeb43 Jeff Chang 2020-01-16 20 struct mt6660_chip {
f289e55c6eeb43 Jeff Chang 2020-01-16 21 struct i2c_client *i2c;
f289e55c6eeb43 Jeff Chang 2020-01-16 22 struct device *dev;
f289e55c6eeb43 Jeff Chang 2020-01-16 23 struct platform_device *param_dev;
f289e55c6eeb43 Jeff Chang 2020-01-16 24 struct mt6660_platform_data plat_data;
f289e55c6eeb43 Jeff Chang 2020-01-16 @25 struct mutex io_lock;
f289e55c6eeb43 Jeff Chang 2020-01-16 26 struct regmap *regmap;
f289e55c6eeb43 Jeff Chang 2020-01-16 27 u16 chip_rev;
f289e55c6eeb43 Jeff Chang 2020-01-16 @28 };
f289e55c6eeb43 Jeff Chang 2020-01-16 29 #pragma pack(pop)
f289e55c6eeb43 Jeff Chang 2020-01-16 30
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists