[<prev] [next>] [day] [month] [year] [list]
Date: Sun, 25 Dec 2022 12:54:28 +0800
From: kernel test robot <lkp@...el.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: drivers/pinctrl/nomadik/pinctrl-nomadik.c:1084:9: error: implicit
declaration of function 'seq_printf'; did you mean 'bstr_printf'?
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 72a85e2b0a1e1e6fb4ee51ae902730212b2de25c
commit: e5530adc17a79f2a93e8b35e0ce673fc33f5f663 pinctrl: Clean up headers
date: 9 weeks ago
config: arm-randconfig-c042-20221225
compiler: arm-linux-gnueabi-gcc (GCC) 12.1.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/torvalds/linux.git/commit/?id=e5530adc17a79f2a93e8b35e0ce673fc33f5f663
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout e5530adc17a79f2a93e8b35e0ce673fc33f5f663
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
drivers/pinctrl/nomadik/pinctrl-nomadik.c: In function 'nmk_gpio_irq_print_chip':
>> drivers/pinctrl/nomadik/pinctrl-nomadik.c:1084:9: error: implicit declaration of function 'seq_printf'; did you mean 'bstr_printf'? [-Werror=implicit-function-declaration]
1084 | seq_printf(p, "nmk%u-%u-%u", nmk_chip->bank,
| ^~~~~~~~~~
| bstr_printf
cc1: some warnings being treated as errors
vim +1084 drivers/pinctrl/nomadik/pinctrl-nomadik.c
bc222ef4f79fa0 Linus Walleij 2015-06-17 1078
42da71add478b5 Linus Walleij 2022-09-17 1079 static void nmk_gpio_irq_print_chip(struct irq_data *d, struct seq_file *p)
42da71add478b5 Linus Walleij 2022-09-17 1080 {
42da71add478b5 Linus Walleij 2022-09-17 1081 struct gpio_chip *gc = irq_data_get_irq_chip_data(d);
42da71add478b5 Linus Walleij 2022-09-17 1082 struct nmk_gpio_chip *nmk_chip = gpiochip_get_data(gc);
42da71add478b5 Linus Walleij 2022-09-17 1083
42da71add478b5 Linus Walleij 2022-09-17 @1084 seq_printf(p, "nmk%u-%u-%u", nmk_chip->bank,
42da71add478b5 Linus Walleij 2022-09-17 1085 gc->base, gc->base + gc->ngpio - 1);
42da71add478b5 Linus Walleij 2022-09-17 1086 }
42da71add478b5 Linus Walleij 2022-09-17 1087
:::::: The code at line 1084 was first introduced by commit
:::::: 42da71add478b5a6f82520181a4010a3823bced0 pinctrl: nomadik: Make gpio irqchip immutable
:::::: TO: Linus Walleij <linus.walleij@...aro.org>
:::::: CC: Linus Walleij <linus.walleij@...aro.org>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
View attachment "config" of type "text/plain" (199400 bytes)
Powered by blists - more mailing lists