linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 10291/12944] drivers/gpio/gpio-nomadik.c:462:20: error: static declaration of 'nmk_gpio_dbg_show_one' follows non-static declaration
@ 2024-03-09  2:46 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-03-09  2:46 UTC (permalink / raw)
  To: Théo Lebrun
  Cc: oe-kbuild-all, Linux Memory Management List, Linus Walleij

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   8ffc8b1bbd505e27e2c8439d326b6059c906c9dd
commit: 966942ae493650210b9514f3d4bfc95f78ef0129 [10291/12944] gpio: nomadik: extract GPIO platform driver from drivers/pinctrl/nomadik/
config: sh-randconfig-r081-20240309 (https://download.01.org/0day-ci/archive/20240309/202403091024.OZ4KCPBL-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240309/202403091024.OZ4KCPBL-lkp@intel.com/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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403091024.OZ4KCPBL-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/gpio/gpio-nomadik.c:462:20: error: static declaration of 'nmk_gpio_dbg_show_one' follows non-static declaration
     462 | static inline void nmk_gpio_dbg_show_one(struct seq_file *s,
         |                    ^~~~~~~~~~~~~~~~~~~~~
   In file included from drivers/gpio/gpio-nomadik.c:28:
   include/linux/gpio/gpio-nomadik.h:258:6: note: previous declaration of 'nmk_gpio_dbg_show_one' with type 'void(struct seq_file *, struct pinctrl_dev *, struct gpio_chip *, unsigned int,  unsigned int)'
     258 | void nmk_gpio_dbg_show_one(struct seq_file *s, struct pinctrl_dev *pctldev,
         |      ^~~~~~~~~~~~~~~~~~~~~


vim +/nmk_gpio_dbg_show_one +462 drivers/gpio/gpio-nomadik.c

   461	
 > 462	static inline void nmk_gpio_dbg_show_one(struct seq_file *s,
   463						 struct pinctrl_dev *pctldev,
   464						 struct gpio_chip *chip,
   465						 unsigned int offset,
   466						 unsigned int gpio)
   467	{
   468	}
   469	

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-09  2:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-09  2:46 [linux-next:master 10291/12944] drivers/gpio/gpio-nomadik.c:462:20: error: static declaration of 'nmk_gpio_dbg_show_one' follows non-static declaration kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).