linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [arm:sa1100 29/36] arch/arm/mach-sa1100/ipaq-sleeve-bus.c:69:19: error: initialization of 'int (*)(const struct device *, struct kobj_uevent_env *)' from incompatible pointer type 'int (*)(struct device *, struct kobj_uevent_env *)'
@ 2023-11-05  5:02 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-05  5:02 UTC (permalink / raw)
  To: Russell King; +Cc: oe-kbuild-all, linux-arm-kernel

tree:   git://git.armlinux.org.uk/~rmk/linux-arm.git sa1100
head:   08b1731daff3c03a1845f5edabf356876858ee5a
commit: 7061a74a938c818c6b23e79fe19b5696d25919f6 [29/36] ARM: sa1100/h3xxx: sleeve support
config: arm-jornada720_defconfig (https://download.01.org/0day-ci/archive/20231105/202311051219.tXCXxpNW-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231105/202311051219.tXCXxpNW-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311051219.tXCXxpNW-lkp@intel.com/

All errors (new ones prefixed by >>):

>> arch/arm/mach-sa1100/ipaq-sleeve-bus.c:69:19: error: initialization of 'int (*)(const struct device *, struct kobj_uevent_env *)' from incompatible pointer type 'int (*)(struct device *, struct kobj_uevent_env *)' [-Werror=incompatible-pointer-types]
      69 |         .uevent = ipaq_option_sleeve_uevent,
         |                   ^~~~~~~~~~~~~~~~~~~~~~~~~
   arch/arm/mach-sa1100/ipaq-sleeve-bus.c:69:19: note: (near initialization for 'ipaq_option_sleeve_bus.uevent')
   cc1: some warnings being treated as errors


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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-05  5:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-05  5:02 [arm:sa1100 29/36] arch/arm/mach-sa1100/ipaq-sleeve-bus.c:69:19: error: initialization of 'int (*)(const struct device *, struct kobj_uevent_env *)' from incompatible pointer type 'int (*)(struct device *, struct kobj_uevent_env *)' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).