[arm-platforms:irq/irq_chip_ro 1/9] drivers/irqchip/irq-gic.c:405:17: error: implicit declaration of function 'seq_printf'; did you mean 'bstr_printf'?
kernel test robot
lkp at intel.com
Sun Jan 30 22:29:38 PST 2022
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/irq_chip_ro
head: f63a5ded3ea0cd2c587db00f89d219789fbee683
commit: 6a55685f591b540217d642fc5e0799634ee29a91 [1/9] irqchip/gic: Switch to dynamic chip name output
config: arm64-buildonly-randconfig-r002-20220131 (https://download.01.org/0day-ci/archive/20220131/202201311432.fUCsdn2s-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 11.2.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=6a55685f591b540217d642fc5e0799634ee29a91
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/irq_chip_ro
git checkout 6a55685f591b540217d642fc5e0799634ee29a91
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/
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/irqchip/irq-gic.c: In function 'gic_irq_print_chip':
>> drivers/irqchip/irq-gic.c:405:17: error: implicit declaration of function 'seq_printf'; did you mean 'bstr_printf'? [-Werror=implicit-function-declaration]
405 | seq_printf(p, "%s", gic->chip.parent_device->of_node->name);
| ^~~~~~~~~~
| bstr_printf
cc1: some warnings being treated as errors
vim +405 drivers/irqchip/irq-gic.c
399
400 static void gic_irq_print_chip(struct irq_data *d, struct seq_file *p)
401 {
402 struct gic_chip_data *gic = irq_data_get_irq_chip_data(d);
403
404 if (gic->chip.parent_device)
> 405 seq_printf(p, "%s", gic->chip.parent_device->of_node->name);
406 else if (static_branch_likely(&supports_deactivate_key) &&
407 gic == &gic_data[0])
408 seq_printf(p, "GICv2");
409 else
410 seq_printf(p, "GIC-%d", (int)(gic - &gic_data[0]));
411 }
412
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
More information about the linux-arm-kernel
mailing list