linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [arm-platforms:irq/domain_cleanup 30/31] drivers/mfd/qcom-pm8xxx.c:218:4: error: implicit declaration of function 'generic_handle_generic_irq'; did you mean 'generic_handle_domain_irq'?
@ 2021-05-15 23:36 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-05-15 23:36 UTC (permalink / raw)
  To: Marc Zyngier; +Cc: kbuild-all, linux-arm-kernel

[-- Attachment #1: Type: text/plain, Size: 2539 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/domain_cleanup
head:   98b44e2b2b00423e554aa8d9261f6f6749997a03
commit: 3dff5daadd0d219ea72a65cb7ed192fff14bb2a4 [30/31] MFD: Bulk conversion to generic_handle_domain_irq()
config: m68k-randconfig-r003-20210516 (attached as .config)
compiler: m68k-linux-gcc (GCC) 9.3.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/maz/arm-platforms.git/commit/?id=3dff5daadd0d219ea72a65cb7ed192fff14bb2a4
        git remote add arm-platforms https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git
        git fetch --no-tags arm-platforms irq/domain_cleanup
        git checkout 3dff5daadd0d219ea72a65cb7ed192fff14bb2a4
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross W=1 ARCH=m68k 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   drivers/mfd/qcom-pm8xxx.c: In function 'pm8821_irq_block_handler':
>> drivers/mfd/qcom-pm8xxx.c:218:4: error: implicit declaration of function 'generic_handle_generic_irq'; did you mean 'generic_handle_domain_irq'? [-Werror=implicit-function-declaration]
     218 |    generic_handle_generic_irq(chip->irqdomain, pmirq);
         |    ^~~~~~~~~~~~~~~~~~~~~~~~~~
         |    generic_handle_domain_irq
   cc1: some warnings being treated as errors


vim +218 drivers/mfd/qcom-pm8xxx.c

   197	
   198	static void pm8821_irq_block_handler(struct pm_irq_chip *chip,
   199					     int master, int block)
   200	{
   201		int pmirq, i, ret;
   202		unsigned int bits;
   203	
   204		ret = regmap_read(chip->regmap,
   205				  PM8821_SSBI_ADDR_IRQ_ROOT(master, block), &bits);
   206		if (ret) {
   207			pr_err("Reading block %d failed ret=%d", block, ret);
   208			return;
   209		}
   210	
   211		/* Convert block offset to global block number */
   212		block += (master * PM8821_BLOCKS_PER_MASTER) - 1;
   213	
   214		/* Check IRQ bits */
   215		for (i = 0; i < 8; i++) {
   216			if (bits & BIT(i)) {
   217				pmirq = block * 8 + i;
 > 218				generic_handle_generic_irq(chip->irqdomain, pmirq);
   219			}
   220		}
   221	}
   222	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 26091 bytes --]

[-- Attachment #3: Type: text/plain, Size: 176 bytes --]

_______________________________________________
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:[~2021-05-15 23:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-15 23:36 [arm-platforms:irq/domain_cleanup 30/31] drivers/mfd/qcom-pm8xxx.c:218:4: error: implicit declaration of function 'generic_handle_generic_irq'; did you mean 'generic_handle_domain_irq'? 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).