[arm-platforms:irq/irq_chip_ro 4/9] drivers/irqchip/irq-ts4800.c:55:2: error: implicit declaration of function 'seq_printf'

kernel test robot lkp at intel.com
Sun Jan 30 21:38:00 PST 2022


tree:   https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git irq/irq_chip_ro
head:   f63a5ded3ea0cd2c587db00f89d219789fbee683
commit: 75f43f84cf6ef6e3a967aa84352173e37a83111d [4/9] irqchip/ts4800: Switch to dynamic chip name output
config: riscv-buildonly-randconfig-r005-20220131 (https://download.01.org/0day-ci/archive/20220131/202201311353.3t1CnmBZ-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 riscv cross compiling tool for clang build
        # apt-get install binutils-riscv64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git/commit/?id=75f43f84cf6ef6e3a967aa84352173e37a83111d
        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 75f43f84cf6ef6e3a967aa84352173e37a83111d
        # 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=riscv SHELL=/bin/bash drivers/irqchip/

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-ts4800.c:55:2: error: implicit declaration of function 'seq_printf' [-Werror,-Wimplicit-function-declaration]
           seq_printf(p, "%s", dev_name(&data->pdev->dev));
           ^
   1 error generated.


vim +/seq_printf +55 drivers/irqchip/irq-ts4800.c

    50	
    51	static void ts4800_irq_print_chip(struct irq_data *d, struct seq_file *p)
    52	{
    53		struct ts4800_irq_data *data = irq_data_get_irq_chip_data(d);
    54	
  > 55		seq_printf(p, "%s", dev_name(&data->pdev->dev));
    56	}
    57	

---
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