]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Silence missing prototype warning
authorTiezhu Yang <yangtiezhu@loongson.cn>
Thu, 29 Sep 2022 07:39:57 +0000 (15:39 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Fri, 30 Sep 2022 14:49:49 +0000 (16:49 +0200)
commitaca459b8082ba21d964190be16bc433e47d22141
tree8133acd098deec243247cca32814a4cced3c7b13
parent1f0565f71799f715a1726c3e36dc2c3415292d79
MIPS: Silence missing prototype warning

Silence the following two warnings when make W=1:

  CC      arch/mips/lib/bswapsi.o
arch/mips/lib/bswapsi.c:5:22: warning: no previous prototype for '__bswapsi2' [-Wmissing-prototypes]
 unsigned int notrace __bswapsi2(unsigned int u)
                      ^~~~~~~~~~
  CC      arch/mips/lib/bswapdi.o
arch/mips/lib/bswapdi.c:5:28: warning: no previous prototype for '__bswapdi2' [-Wmissing-prototypes]
 unsigned long long notrace __bswapdi2(unsigned long long u)
                            ^~~~~~~~~~
  AR      arch/mips/lib/built-in.a

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/lib/bswapdi.c
arch/mips/lib/bswapsi.c