[arm:sa1100 29/36] arch/arm/mach-sa1100/ipaq-sleeve-bus.c:69:12: error: incompatible function pointer types initializing 'int (*)(const struct device *, struct kobj_uevent_env *)' with an expression of type 'int (struct device *, struct kobj_uevent_env *)'
kernel test robot
lkp at intel.com
Sun Jan 21 08:17:20 PST 2024
tree: git://git.armlinux.org.uk/~rmk/linux-arm.git sa1100
head: d48f5d1fae0e3af56746dd83ee7bcef43ddff4b3
commit: e4833d4836599cf7f9f588e62d00e137c4d79ccd [29/36] ARM: sa1100/h3xxx: sleeve support
config: arm-neponset_defconfig (https://download.01.org/0day-ci/archive/20240122/202401220005.5PIfifhJ-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240122/202401220005.5PIfifhJ-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401220005.5PIfifhJ-lkp@intel.com/
All errors (new ones prefixed by >>):
>> arch/arm/mach-sa1100/ipaq-sleeve-bus.c:69:12: error: incompatible function pointer types initializing 'int (*)(const struct device *, struct kobj_uevent_env *)' with an expression of type 'int (struct device *, struct kobj_uevent_env *)' [-Wincompatible-function-pointer-types]
.uevent = ipaq_option_sleeve_uevent,
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
vim +69 arch/arm/mach-sa1100/ipaq-sleeve-bus.c
64
65 struct bus_type ipaq_option_sleeve_bus = {
66 .name = "ipaq-sleeve",
67 .dev_groups = ipaq_option_sleeve_dev_groups,
68 .match = ipaq_option_sleeve_match,
> 69 .uevent = ipaq_option_sleeve_uevent,
70 };
71 EXPORT_SYMBOL_GPL(ipaq_option_sleeve_bus);
72
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the linux-arm-kernel
mailing list