All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: aubrey.li@linux.intel.com
Cc: oe-kbuild-all@lists.linux.dev
Subject: [anolis-intel-cloud:devel-5.10 11/11] drivers/crypto/ccp/vpsp.c:593:6: warning: no previous prototype for function 'vpsp_set_default_vid_permission'
Date: Thu, 22 May 2025 16:07:23 +0800	[thread overview]
Message-ID: <202505221516.ce4mJCUF-lkp@intel.com> (raw)

tree:   https://gitee.com/anolis/intel-cloud-kernel.git devel-5.10
head:   8c0e5d113e2a8ff250d4973be89da61edcab22d5
commit: c8cee0acc0683f57bf575e08a0509c5836301720 [11/11] anolis: crypto: ccp: move vpsp-related functions to vpsp.c
config: x86_64-rhel-9.4-rust (https://download.01.org/0day-ci/archive/20250522/202505221516.ce4mJCUF-lkp@intel.com/config)
compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff)
rustc: rustc 1.58.0 (02072b482 2022-01-11)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250522/202505221516.ce4mJCUF-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/202505221516.ce4mJCUF-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/crypto/ccp/vpsp.c:593:6: warning: no previous prototype for function 'vpsp_set_default_vid_permission' [-Wmissing-prototypes]
     593 | void vpsp_set_default_vid_permission(uint32_t is_allow)
         |      ^
   drivers/crypto/ccp/vpsp.c:593:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
     593 | void vpsp_set_default_vid_permission(uint32_t is_allow)
         | ^
         | static 
   1 warning generated.


vim +/vpsp_set_default_vid_permission +593 drivers/crypto/ccp/vpsp.c

   586	
   587	/**
   588	 * When 'allow_default_vid' is set to 1,
   589	 * QEMU is allowed to use 'vid 0' by default
   590	 * in the absence of a valid 'vid' setting.
   591	 */
   592	uint32_t allow_default_vid = 1;
 > 593	void vpsp_set_default_vid_permission(uint32_t is_allow)
   594	{
   595		allow_default_vid = is_allow;
   596	}
   597	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2025-05-22  8:08 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=202505221516.ce4mJCUF-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=aubrey.li@linux.intel.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.