All of lore.kernel.org
 help / color / mirror / Atom feed
* [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'
@ 2025-05-22  8:07 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-22  8:07 UTC (permalink / raw)
  To: aubrey.li; +Cc: oe-kbuild-all

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-05-22  8:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-22  8:07 [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' kernel test robot

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.