arch/mips/sgi-ip30/ip30-console.c:15:6: warning: no previous prototype for 'prom_putchar'

From: kernel test robot
Date: Tue Nov 07 2023 - 05:43:42 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: be3ca57cfb777ad820c6659d52e60bbdd36bf5ff
commit: 7505576d1c1ac0cfe85fdf90999433dd8b673012 MIPS: add support for SGI Octane (IP30)
date: 4 years ago
config: mips-randconfig-r002-20230825 (https://download.01.org/0day-ci/archive/20231107/202311071845.jPegp5hN-lkp@xxxxxxxxx/config)
compiler: mips64-linux-gcc (GCC) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231107/202311071845.jPegp5hN-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/202311071845.jPegp5hN-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> arch/mips/sgi-ip30/ip30-console.c:15:6: warning: no previous prototype for 'prom_putchar' [-Wmissing-prototypes]
15 | void prom_putchar(char c)
| ^~~~~~~~~~~~


vim +/prom_putchar +15 arch/mips/sgi-ip30/ip30-console.c

14
> 15 void prom_putchar(char c)

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