[bcain:bcain/hmx 93/114] arch/hexagon/kernel/smp.c:74:6: warning: no previous prototype for function 'smp_vm_unmask_irq'

kernel test robot <[email protected]>
Newsgroups dev.linux.lists.llvm,dev.linux.lists.oe-kbuild-all
Message-ID <[email protected]>
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/bcain/linux.git bcain/hmx
head:   d18cfcbc89df32524d340991739f2a7695263a90
commit: 6b67e2ee11b036dc18ffdc2028d4716b60cec657 [93/114] hexagon: add debug infrastructure
config: hexagon-randconfig-002-20260810 (https://download.01.org/0day-ci/archive/20260810/[email protected]/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 12df34b8469b8095359de8c249cb1b2753fadeea)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260810/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> arch/hexagon/kernel/smp.c:74:6: warning: no previous prototype for function 'smp_vm_unmask_irq' [-Wmissing-prototypes]
      74 | void smp_vm_unmask_irq(void *info)
         |      ^
   arch/hexagon/kernel/smp.c:74:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
      74 | void smp_vm_unmask_irq(void *info)
         | ^
         | static 
   1 warning generated.


vim +/smp_vm_unmask_irq +74 arch/hexagon/kernel/smp.c

43afdf50838634 Richard Kuo 2011-10-31  72  
43afdf50838634 Richard Kuo 2011-10-31  73  /*  Used for IPI call from other CPU's to unmask int  */
43afdf50838634 Richard Kuo 2011-10-31 @74  void smp_vm_unmask_irq(void *info)
43afdf50838634 Richard Kuo 2011-10-31  75  {
43afdf50838634 Richard Kuo 2011-10-31  76  	__vmintop_locen((long) info);
43afdf50838634 Richard Kuo 2011-10-31  77  }
43afdf50838634 Richard Kuo 2011-10-31  78  

:::::: The code at line 74 was first introduced by commit
:::::: 43afdf508386342d714f6911c1976f934b520cb0 Hexagon: Add SMP support

:::::: TO: Richard Kuo <[email protected]>
:::::: CC: Linus Torvalds <[email protected]>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.