[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
lkp at intel.com
Sat May 15 16:36:55 PDT 2021
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 at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 26091 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210516/1b5427f7/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list