* [steev:c630-v6.3 6/11] drivers/power/supply/yoga-c630-ec.c:465:18: error: initialization of 'int (*)(struct i2c_client *)' from incompatible pointer type 'int (*)(struct i2c_client *, const struct i2c_device_id *)'
@ 2023-04-24 3:28 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-04-24 3:28 UTC (permalink / raw)
To: Bjorn Andersson; +Cc: oe-kbuild-all, Steev Klimaszewski, Dmitry Baryshkov
tree: https://github.com/steev/linux c630-v6.3
head: b4d83e68be9f1bb3539ea6b23f3f5a9f8cebc7df
commit: f8cff82b4956f2b243daa4c120b68f80c774d9cf [6/11] power: supply: Add Lenovo Yoga C630 EC driver
config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20230424/202304241141.fKraXeXf-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 12.1.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/steev/linux/commit/f8cff82b4956f2b243daa4c120b68f80c774d9cf
git remote add steev https://github.com/steev/linux
git fetch --no-tags steev c630-v6.3
git checkout f8cff82b4956f2b243daa4c120b68f80c774d9cf
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=alpha olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304241141.fKraXeXf-lkp@intel.com/
Note: the steev/c630-v6.3 HEAD b4d83e68be9f1bb3539ea6b23f3f5a9f8cebc7df builds fine.
It only hurts bisectability.
All errors (new ones prefixed by >>):
>> drivers/power/supply/yoga-c630-ec.c:465:18: error: initialization of 'int (*)(struct i2c_client *)' from incompatible pointer type 'int (*)(struct i2c_client *, const struct i2c_device_id *)' [-Werror=incompatible-pointer-types]
465 | .probe = yoga_c630_ec_probe,
| ^~~~~~~~~~~~~~~~~~
drivers/power/supply/yoga-c630-ec.c:465:18: note: (near initialization for 'yoga_c630_ec_i2c_driver.<anonymous>.probe')
cc1: some warnings being treated as errors
vim +465 drivers/power/supply/yoga-c630-ec.c
459
460 static struct i2c_driver yoga_c630_ec_i2c_driver = {
461 .driver = {
462 .name = "yoga-c630-ec",
463 .of_match_table = yoga_c630_ec_of_match,
464 },
> 465 .probe = yoga_c630_ec_probe,
466 .id_table = yoga_c630_ec_i2c_id_table,
467 };
468 module_i2c_driver(yoga_c630_ec_i2c_driver);
469
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-04-24 3:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-24 3:28 [steev:c630-v6.3 6/11] drivers/power/supply/yoga-c630-ec.c:465:18: error: initialization of 'int (*)(struct i2c_client *)' from incompatible pointer type 'int (*)(struct i2c_client *, const struct i2c_device_id *)' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.