* [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'
@ 2023-11-30 8:34 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-11-30 8:34 UTC (permalink / raw)
To: Masahisa Kojima
Cc: llvm, oe-kbuild-all, Linux Memory Management List,
Ard Biesheuvel, Ilias Apalodimas
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@intel.com/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@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202311301520.nKnDVxjA-lkp@intel.com/
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-11-30 8:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-30 8:34 [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' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox