tree:
https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.10
head: bf98c1493fb23bfd7e2678498b7e337ce2cd1d53
commit: 0bae0f6f49084612f2df5dc148733573fc96f863 [861/1760] pmbus: Add new tps544 power
regulator driver
config: m68k-randconfig-r014-20210812 (attached as .config)
compiler: m68k-linux-gcc (GCC) 10.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/Xilinx/linux-xlnx/commit/0bae0f6f49084612f2df5dc148733...
git remote add xlnx
https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xlnx xlnx_rebase_v5.10
git checkout 0bae0f6f49084612f2df5dc148733573fc96f863
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir
ARCH=m68k SHELL=/bin/bash drivers/hwmon/pmbus/ drivers/irqchip/ drivers/misc/
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 >>):
drivers/hwmon/pmbus/tps544.c: In function 'tps544_read_word_data':
> drivers/hwmon/pmbus/tps544.c:67:9: error: too few arguments to
function 'pmbus_read_word_data'
67 | return
pmbus_read_word_data(client, page, reg);
| ^~~~~~~~~~~~~~~~~~~~
In file included from drivers/hwmon/pmbus/tps544.c:16:
drivers/hwmon/pmbus/pmbus.h:479:5: note: declared here
479 | int pmbus_read_word_data(struct i2c_client *client, int page, int phase,
| ^~~~~~~~~~~~~~~~~~~~
drivers/hwmon/pmbus/tps544.c: In function 'tps544_probe':
> drivers/hwmon/pmbus/tps544.c:287:23: error: assignment to
'int (*)(struct i2c_client *, int, int, int)' from incompatible pointer type
'int (*)(struct i2c_client *, int, int)' [-Werror=incompatible-pointer-types]
287 | info->read_word_data = tps544_read_word_data;
| ^
> drivers/hwmon/pmbus/tps544.c:320:32: error: passing argument 2 of
'pmbus_do_probe' from incompatible pointer type
[-Werror=incompatible-pointer-types]
320 | return pmbus_do_probe(client, id,
info);
| ^~
| |
| const struct i2c_device_id *
In file included from drivers/hwmon/pmbus/tps544.c:16:
drivers/hwmon/pmbus/pmbus.h:492:73: note: expected 'struct pmbus_driver_info *'
but argument is of type 'const struct i2c_device_id *'
492 | int pmbus_do_probe(struct i2c_client *client, struct pmbus_driver_info *info);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
> drivers/hwmon/pmbus/tps544.c:320:9: error: too many arguments to
function 'pmbus_do_probe'
320 | return pmbus_do_probe(client, id,
info);
| ^~~~~~~~~~~~~~
In file included from drivers/hwmon/pmbus/tps544.c:16:
drivers/hwmon/pmbus/pmbus.h:492:5: note: declared here
492 | int pmbus_do_probe(struct i2c_client *client, struct pmbus_driver_info *info);
| ^~~~~~~~~~~~~~
drivers/hwmon/pmbus/tps544.c: In function 'tps544_read_word_data':
drivers/hwmon/pmbus/tps544.c:68:1: error: control reaches end of non-void function
[-Werror=return-type]
68 | }
| ^
cc1: some warnings being treated as errors
vim +/pmbus_read_word_data +67 drivers/hwmon/pmbus/tps544.c
64
65 static int tps544_read_word_data(struct i2c_client *client, int page, int reg)
66 {
67 return pmbus_read_word_data(client, page, reg);
68 }
69
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org