Skip to contentSkip to conversation

drivers/pinctrl/nomadik/pinctrl-nomadik.c:587:2: error: too few arguments to function 'nmk_gpio_dbg_show_one'

PATCH kernel test robot 1 participant 1 message Sep 13, 2025

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   590b221ed4256fd6c34d3dea77aa5bd6e741bbc1
commit: ddeb66d2cb10f03a43d97a0ff2c3869d1951c87d [5114/8719] gpio: nomadik: don't print out global GPIO numbers in debugfs callbacks
config: m68k-randconfig-r113-20250913 (https://download.01.org/0day-ci/archive/20250913/[email protected]/config)
compiler: m68k-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250913/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

drivers/pinctrl/nomadik/pinctrl-nomadik.c: In function 'nmk_pin_dbg_show':

>> drivers/pinctrl/nomadik/pinctrl-nomadik.c:587:2: error: too few arguments to function 'nmk_gpio_dbg_show_one'
     nmk_gpio_dbg_show_one(s, pctldev, chip, offset - chip->base);
     ^~~~~~~~~~~~~~~~~~~~~

In file included from drivers/pinctrl/nomadik/pinctrl-nomadik.c:44:
include/linux/gpio/gpio-nomadik.h:268:20: note: declared here
static inline void nmk_gpio_dbg_show_one(struct seq_file *s,
^~~~~~~~~~~~~~~~~~~~~

vim +/nmk_gpio_dbg_show_one +587 drivers/pinctrl/nomadik/pinctrl-nomadik.c

577
578 static void nmk_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s,
579 unsigned int offset)
580 {
581 struct gpio_chip *chip = find_gc_from_pin(offset);
582
583 if (!chip) {
584 seq_printf(s, "invalid pin offset");
585 return;
586 }

 > 587		nmk_gpio_dbg_show_one(s, pctldev, chip, offset - chip->base);

588 }
589

Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki