linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Masahisa Kojima <masahisa.kojima@linaro.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>,
	Ard Biesheuvel <ardb@kernel.org>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>
Subject: [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: Thu, 30 Nov 2023 16:34:18 +0800	[thread overview]
Message-ID: <202311301520.nKnDVxjA-lkp@intel.com> (raw)

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


                 reply	other threads:[~2023-11-30  8:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202311301520.nKnDVxjA-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ardb@kernel.org \
    --cc=ilias.apalodimas@linaro.org \
    --cc=linux-mm@kvack.org \
    --cc=llvm@lists.linux.dev \
    --cc=masahisa.kojima@linaro.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox