Hi "Václav, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on hwmon/hwmon-next] [also build test WARNING on v5.12-rc5 next-20210329] [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] url: https://github.com/0day-ci/linux/commits/V-clav-Kubern-t/hwmon-Add-driver-for-fsp-3y-PSUs-and-PDUs/20210329-224216 base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next config: m68k-allmodconfig (attached as .config) compiler: m68k-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/48af68da782edb21e107a884db98beedfd691e81 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review V-clav-Kubern-t/hwmon-Add-driver-for-fsp-3y-PSUs-and-PDUs/20210329-224216 git checkout 48af68da782edb21e107a884db98beedfd691e81 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): drivers/hwmon/pmbus/fsp-3y.c:15:25: error: array index in initializer exceeds array bounds 15 | #define YM2151_PAGE_5V 0x20 | ^~~~ drivers/hwmon/pmbus/fsp-3y.c:114:9: note: in expansion of macro 'YM2151_PAGE_5V' 114 | .func[YM2151_PAGE_5V] = | ^~~~~~~~~~~~~~ drivers/hwmon/pmbus/fsp-3y.c:15:25: note: (near initialization for 'fsp3y_info[0].func') 15 | #define YM2151_PAGE_5V 0x20 | ^~~~ drivers/hwmon/pmbus/fsp-3y.c:114:9: note: in expansion of macro 'YM2151_PAGE_5V' 114 | .func[YM2151_PAGE_5V] = | ^~~~~~~~~~~~~~ In file included from include/linux/bits.h:6, from include/linux/bitops.h:6, from include/linux/kernel.h:11, from drivers/hwmon/pmbus/fsp-3y.c:8: >> include/vdso/bits.h:7:19: warning: initialized field overwritten [-Woverride-init] 7 | #define BIT(nr) (UL(1) << (nr)) | ^ drivers/hwmon/pmbus/pmbus.h:383:26: note: in expansion of macro 'BIT' 383 | #define PMBUS_HAVE_VOUT BIT(2) | ^~~ drivers/hwmon/pmbus/fsp-3y.c:115:4: note: in expansion of macro 'PMBUS_HAVE_VOUT' 115 | PMBUS_HAVE_VOUT | PMBUS_HAVE_IOUT, | ^~~~~~~~~~~~~~~ include/vdso/bits.h:7:19: note: (near initialization for 'fsp3y_info[0].func[0]') 7 | #define BIT(nr) (UL(1) << (nr)) | ^ drivers/hwmon/pmbus/pmbus.h:383:26: note: in expansion of macro 'BIT' 383 | #define PMBUS_HAVE_VOUT BIT(2) | ^~~ drivers/hwmon/pmbus/fsp-3y.c:115:4: note: in expansion of macro 'PMBUS_HAVE_VOUT' 115 | PMBUS_HAVE_VOUT | PMBUS_HAVE_IOUT, | ^~~~~~~~~~~~~~~ vim +7 include/vdso/bits.h 3945ff37d2f48d Vincenzo Frascino 2020-03-20 6 3945ff37d2f48d Vincenzo Frascino 2020-03-20 @7 #define BIT(nr) (UL(1) << (nr)) 3945ff37d2f48d Vincenzo Frascino 2020-03-20 8 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip