[linux-next:master 3754/4102] drivers/firmware/efi/stmm/tee_stmm_efi.c:524:6: warning: no previous prototype for function 'tee_stmm_restore_efivars_generic_ops'

[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:   3cd3fe06ff81cfb3a969acb12a56796cff5af23d
commit: 8ffb9a25b9d5947cb4a2442754cbaee82d98f8a0 [3754/4102] efi: Add tee-based EFI variable driver
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20231130/202311301520.nKnDVxjA-lkp@xxxxxxxxx/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231130/202311301520.nKnDVxjA-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/202311301520.nKnDVxjA-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/firmware/efi/stmm/tee_stmm_efi.c:524:6: warning: no previous prototype for function 'tee_stmm_restore_efivars_generic_ops' [-Wmissing-prototypes]
     524 | void tee_stmm_restore_efivars_generic_ops(void)
         |      ^
   drivers/firmware/efi/stmm/tee_stmm_efi.c:524:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     524 | void tee_stmm_restore_efivars_generic_ops(void)
         | ^
         | static 
   1 warning generated.


vim +/tee_stmm_restore_efivars_generic_ops +524 drivers/firmware/efi/stmm/tee_stmm_efi.c

   523	
 > 524	void tee_stmm_restore_efivars_generic_ops(void)
   525	{
   526		efivars_unregister(&tee_efivars);
   527		efivars_generic_ops_register();
   528	}
   529	

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