[arm-platforms:irq/irq_chip_ro 4/9] drivers/irqchip/irq-ts4800.c:55:9: error: implicit declaration of function 'seq_printf'; did you mean 'bstr_printf'?

kernel test robot lkp at intel.com
Sun Jan 30 20:35:59 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: alpha-allmodconfig (https://download.01.org/0day-ci/archive/20220131/202201311240.tTRiqGNX-lkp@intel.com/config)
compiler: alpha-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=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=gcc-11.2.0 make.cross O=build_dir ARCH=alpha 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: In function 'ts4800_irq_print_chip':
>> drivers/irqchip/irq-ts4800.c:55:9: error: implicit declaration of function 'seq_printf'; did you mean 'bstr_printf'? [-Werror=implicit-function-declaration]
      55 |         seq_printf(p, "%s", dev_name(&data->pdev->dev));
         |         ^~~~~~~~~~
         |         bstr_printf
   cc1: some warnings being treated as errors


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