[arm-platforms:irq/irq_chip_ro 3/9] drivers/irqchip/irq-mvebu-pic.c:74:2: error: implicit declaration of function 'seq_printf'
From: kernel test robot <hidden>
Date: 2022-01-31 07:12:38
Also in:
llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/irq_chip_ro head: f63a5ded3ea0cd2c587db00f89d219789fbee683 commit: a57739a1ce5301e34704447de96205450c3bf87d [3/9] irqchip/mvebu-pic: Switch to dynamic chip name output config: arm64-randconfig-r015-20220131 (https://download.01.org/0day-ci/archive/20220131/202201311558.nL1CN3DT-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 2cdbaca3943a4d6259119f185656328bd3805b68) 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 # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=a57739a1ce5301e34704447de96205450c3bf87d 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 a57739a1ce5301e34704447de96205450c3bf87d # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 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 <redacted> All errors (new ones prefixed by >>):
quoted
drivers/irqchip/irq-mvebu-pic.c:74:2: error: implicit declaration of function 'seq_printf' [-Werror,-Wimplicit-function-declaration]
seq_printf(p, "%s", dev_name(&pic->pdev->dev));
^
1 error generated.
vim +/seq_printf +74 drivers/irqchip/irq-mvebu-pic.c
69
70 static void mvebu_pic_print_chip(struct irq_data *d, struct seq_file *p)
71 {
72 struct mvebu_pic *pic = irq_data_get_irq_chip_data(d);
73
> 74 seq_printf(p, "%s", dev_name(&pic->pdev->dev));
75 }
76
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel