arch/mips/kernel/jump_label.c:93:6: warning: no previous prototype for 'jump_label_apply_nops'

From: kernel test robot
Date: Mon Sep 25 2023 - 11:06:31 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6465e260f48790807eef06b583b38ca9789b6072
commit: fdfd42892f311e2b3695852036e5be23661dc590 jump_label: mips: move module NOP patching into arch code
date: 1 year, 3 months ago
config: mips-allmodconfig (https://download.01.org/0day-ci/archive/20230925/202309252207.JQFDtapt-lkp@xxxxxxxxx/config)
compiler: mips-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230925/202309252207.JQFDtapt-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/202309252207.JQFDtapt-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> arch/mips/kernel/jump_label.c:93:6: warning: no previous prototype for 'jump_label_apply_nops' [-Wmissing-prototypes]
93 | void jump_label_apply_nops(struct module *mod)
| ^~~~~~~~~~~~~~~~~~~~~


vim +/jump_label_apply_nops +93 arch/mips/kernel/jump_label.c

91
92 #ifdef CONFIG_MODULES
> 93 void jump_label_apply_nops(struct module *mod)

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