[linux-next:master 8181/9122] arch/arm/boot/compressed/misc.c:157:6: warning: no previous prototype for function '__fortify_panic'

[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:   e31185ce00a96232308300008db193416ceb9769
commit: 0f4459080884b688c4ec9c2b121f22c641401bc1 [8181/9122] fortify: Split reporting and avoid passing string pointer
config: arm-defconfig (https://download.01.org/0day-ci/archive/20240222/202402222314.J6A7eb4B-lkp@xxxxxxxxx/config)
compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240222/202402222314.J6A7eb4B-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/202402222314.J6A7eb4B-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> arch/arm/boot/compressed/misc.c:157:6: warning: no previous prototype for function '__fortify_panic' [-Wmissing-prototypes]
   void __fortify_panic(const u8 reason)
        ^
   arch/arm/boot/compressed/misc.c:157:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void __fortify_panic(const u8 reason)
   ^
   static 
   1 warning generated.


vim +/__fortify_panic +157 arch/arm/boot/compressed/misc.c

   156	
 > 157	void __fortify_panic(const u8 reason)

-- 
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