tree: https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git master head: e3fa3b4c04d13d042e259755e2d48d2170e667ca commit: cc168f07ac2789c2fc94db32e11e411c99e229e9 [65/81] Merge remote-tracking branch 'mfd/for-mfd-next' into renesas-drivers config: x86_64-randconfig-s022 (https://download.01.org/0day-ci/archive/20220711/202207112139.Kmxa8JYf-lkp@xxxxxxxxx/config) compiler: gcc-11 (Debian 11.3.0-3) 11.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git/commit/?id=cc168f07ac2789c2fc94db32e11e411c99e229e9 git remote add geert-renesas-drivers https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git git fetch --no-tags geert-renesas-drivers master git checkout cc168f07ac2789c2fc94db32e11e411c99e229e9 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/mfd/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@xxxxxxxxx> All errors (new ones prefixed by >>): >> drivers/mfd/axp20x.c:634:35: error: initialization of 'unsigned int (*)(struct regmap_irq_chip_data *, unsigned int, int)' from incompatible pointer type 'int (*)(unsigned int, int)' [-Werror=incompatible-pointer-types] 634 | .get_irq_reg = axp192_get_irq_reg, | ^~~~~~~~~~~~~~~~~~ drivers/mfd/axp20x.c:634:35: note: (near initialization for 'axp192_regmap_irq_chip.get_irq_reg') cc1: some warnings being treated as errors vim +634 drivers/mfd/axp20x.c d8d79f8f60c436 Michal Suchanek 2015-07-11 623 8c7d8aa029a3ca Aidan MacDonald 2022-06-03 624 static const struct regmap_irq_chip axp192_regmap_irq_chip = { 8c7d8aa029a3ca Aidan MacDonald 2022-06-03 625 .name = "axp192_irq_chip", 8c7d8aa029a3ca Aidan MacDonald 2022-06-03 626 .status_base = AXP192_IRQ1_STATE, 8c7d8aa029a3ca Aidan MacDonald 2022-06-03 627 .ack_base = AXP192_IRQ1_STATE, 8c7d8aa029a3ca Aidan MacDonald 2022-06-03 628 .mask_base = AXP192_IRQ1_EN, 8c7d8aa029a3ca Aidan MacDonald 2022-06-03 629 .mask_invert = true, 8c7d8aa029a3ca Aidan MacDonald 2022-06-03 630 .init_ack_masked = true, 8c7d8aa029a3ca Aidan MacDonald 2022-06-03 631 .irqs = axp192_regmap_irqs, 8c7d8aa029a3ca Aidan MacDonald 2022-06-03 632 .num_irqs = ARRAY_SIZE(axp192_regmap_irqs), 8c7d8aa029a3ca Aidan MacDonald 2022-06-03 633 .num_regs = 5, 8c7d8aa029a3ca Aidan MacDonald 2022-06-03 @634 .get_irq_reg = axp192_get_irq_reg, 8c7d8aa029a3ca Aidan MacDonald 2022-06-03 635 }; 8c7d8aa029a3ca Aidan MacDonald 2022-06-03 636 :::::: The code at line 634 was first introduced by commit :::::: 8c7d8aa029a3cac42a468cd458adde840d2c5a06 mfd: axp20x: Add support for AXP192 :::::: TO: Aidan MacDonald <aidanmacdonald.0x0@xxxxxxxxx> :::::: CC: Lee Jones <lee.jones@xxxxxxxxxx> -- 0-DAY CI Kernel Test Service https://01.org/lkp