tree:
https://github.com/0day-ci/linux/commits/UPDATE-20210413-184500/V-clav-Ku...
head: 091696d71ca96bdf720755344473bf14a1556c23
commit: 091696d71ca96bdf720755344473bf14a1556c23 hwmon: Add driver for fsp-3y PSUs and
PDUs
date: 3 hours ago
config: sh-allmodconfig (attached as .config)
compiler: sh4-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/091696d71ca96bdf720755344473bf14a...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
UPDATE-20210413-184500/V-clav-Kubern-t/hwmon-Add-driver-for-fsp-3y-PSUs-and-PDUs/20210329-224216
git checkout 091696d71ca96bdf720755344473bf14a1556c23
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from drivers/hwmon/pmbus/fsp-3y.c:11:
> drivers/hwmon/pmbus/fsp-3y.c:224:26: error: 'pmbus_id'
undeclared here (not in a function)
224 | MODULE_DEVICE_TABLE(i2c, pmbus_id);
| ^~~~~~~~
include/linux/module.h:241:15: note: in definition of macro
'MODULE_DEVICE_TABLE'
241 | extern typeof(name) __mod_##type##__##name##_device_table \
| ^~~~
> include/linux/module.h:241:21: error:
'__mod_i2c__pmbus_id_device_table' aliased to undefined symbol 'pmbus_id'
241 | extern typeof(name) __mod_##type##__##name##_device_table \
| ^~~~~~
drivers/hwmon/pmbus/fsp-3y.c:224:1: note: in expansion of macro
'MODULE_DEVICE_TABLE'
224 | MODULE_DEVICE_TABLE(i2c, pmbus_id);
| ^~~~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC
Depends on SOUND && !UML && SND && SND_SOC &&
SND_ATMEL_SOC && HAS_DMA
Selected by
- SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC
&& SND_ATMEL_SOC
- SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND &&
SND_SOC && SND_ATMEL_SOC && ATMEL_SSC
vim +/pmbus_id +224 drivers/hwmon/pmbus/fsp-3y.c
223
224 MODULE_DEVICE_TABLE(i2c, pmbus_id);
225
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org