[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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx/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@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403091024.OZ4KCPBL-lkp@xxxxxxxxx/

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux