All of lore.kernel.org
 help / color / mirror / Atom feed
* [lee-mfd:for-mfd-next 15/78] drivers/mfd/qcom-pm8008.c:143:35: error: initialization of 'int (*)(unsigned int **, unsigned int,  const struct regmap_irq *, int)' from incompatible pointer type 'int (*)(unsigned int **, unsigned int,  const struct regmap_irq *, int,  void *)'
@ 2023-04-14 11:28 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-04-14 11:28 UTC (permalink / raw)
  To: Aidan MacDonald; +Cc: oe-kbuild-all, Lee Jones, Lee Jones

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git for-mfd-next
head:   9d8d0d98885abba451d7ffc4885236d14ead3c9a
commit: 540eee4708487d16d7f9d1ddadd679ce3e0b9d69 [15/78] mfd: qcom-pm8008: Convert irq chip to config regs
config: arc-randconfig-r043-20230412 (https://download.01.org/0day-ci/archive/20230414/202304141926.cSoD7Vgw-lkp@intel.com/config)
compiler: arc-elf-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://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git/commit/?id=540eee4708487d16d7f9d1ddadd679ce3e0b9d69
        git remote add lee-mfd https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git
        git fetch --no-tags lee-mfd for-mfd-next
        git checkout 540eee4708487d16d7f9d1ddadd679ce3e0b9d69
        # 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=arc olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash drivers/mfd/

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/202304141926.cSoD7Vgw-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/mfd/qcom-pm8008.c:143:35: error: initialization of 'int (*)(unsigned int **, unsigned int,  const struct regmap_irq *, int)' from incompatible pointer type 'int (*)(unsigned int **, unsigned int,  const struct regmap_irq *, int,  void *)' [-Werror=incompatible-pointer-types]
     143 |         .set_type_config        = pm8008_set_type_config,
         |                                   ^~~~~~~~~~~~~~~~~~~~~~
   drivers/mfd/qcom-pm8008.c:143:35: note: (near initialization for 'pm8008_irq_chip.set_type_config')
   cc1: some warnings being treated as errors


vim +143 drivers/mfd/qcom-pm8008.c

   125	
   126	static struct regmap_irq_chip pm8008_irq_chip = {
   127		.name			= "pm8008_irq",
   128		.main_status		= I2C_INTR_STATUS_BASE,
   129		.num_main_regs		= 1,
   130		.irqs			= pm8008_irqs,
   131		.num_irqs		= ARRAY_SIZE(pm8008_irqs),
   132		.num_regs		= PM8008_NUM_PERIPHS,
   133		.not_fixed_stride	= true,
   134		.sub_reg_offsets	= pm8008_sub_reg_offsets,
   135		.status_base		= PM8008_STATUS_BASE,
   136		.mask_base		= PM8008_MASK_BASE,
   137		.unmask_base		= PM8008_UNMASK_BASE,
   138		.mask_unmask_non_inverted = true,
   139		.ack_base		= PM8008_ACK_BASE,
   140		.config_base		= pm8008_config_regs,
   141		.num_config_bases	= ARRAY_SIZE(pm8008_config_regs),
   142		.num_config_regs	= PM8008_NUM_PERIPHS,
 > 143		.set_type_config	= pm8008_set_type_config,
   144	};
   145	

-- 
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-14 11:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-14 11:28 [lee-mfd:for-mfd-next 15/78] drivers/mfd/qcom-pm8008.c:143:35: error: initialization of 'int (*)(unsigned int **, unsigned int, const struct regmap_irq *, int)' from incompatible pointer type 'int (*)(unsigned int **, unsigned int, const struct regmap_irq *, int, void *)' 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.