* [openeuler:OLK-6.6 3541/3541] drivers/crypto/ccp/hygon/vpsp.c:589:6: warning: no previous prototype for function 'vpsp_set_default_vid_permission'
@ 2025-12-12 20:27 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-12 20:27 UTC (permalink / raw)
To: kernel; +Cc: oe-kbuild-all
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: cd9eb9b4365b71652b2c2ac58293bea47c9f9302
commit: e2861aaa47961017ada7f66de11104bbf3b85eb1 [3541/3541] crypto: ccp: move vpsp-related functions to vpsp.c
config: x86_64-randconfig-101-20251212 (https://download.01.org/0day-ci/archive/20251213/202512130435.BO31TiNF-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251213/202512130435.BO31TiNF-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/202512130435.BO31TiNF-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/crypto/ccp/hygon/vpsp.c:589:6: warning: no previous prototype for function 'vpsp_set_default_vid_permission' [-Wmissing-prototypes]
589 | void vpsp_set_default_vid_permission(uint32_t is_allow)
| ^
drivers/crypto/ccp/hygon/vpsp.c:589:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
589 | void vpsp_set_default_vid_permission(uint32_t is_allow)
| ^
| static
drivers/crypto/ccp/hygon/vpsp.c:1055:5: warning: no previous prototype for function 'vpsp_do_cmd' [-Wmissing-prototypes]
1055 | int vpsp_do_cmd(int cmd, phys_addr_t phy_addr, int *psp_ret)
| ^
drivers/crypto/ccp/hygon/vpsp.c:1055:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
1055 | int vpsp_do_cmd(int cmd, phys_addr_t phy_addr, int *psp_ret)
| ^
| static
2 warnings generated.
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for PTP_1588_CLOCK
Depends on [n]: NET [=y] && POSIX_TIMERS [=n]
Selected by [m]:
- SXE [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_LINKDATA [=y] && (X86 [=y] || ARM64) && PCI [=y]
- SXE_VF [=m] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_LINKDATA [=y] && (X86 [=y] || ARM64) && PCI [=y]
vim +/vpsp_set_default_vid_permission +589 drivers/crypto/ccp/hygon/vpsp.c
582
583 /**
584 * When 'allow_default_vid' is set to 1,
585 * QEMU is allowed to use 'vid 0' by default
586 * in the absence of a valid 'vid' setting.
587 */
588 uint32_t allow_default_vid = 1;
> 589 void vpsp_set_default_vid_permission(uint32_t is_allow)
590 {
591 allow_default_vid = is_allow;
592 }
593
--
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-12-12 20:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-12 20:27 [openeuler:OLK-6.6 3541/3541] drivers/crypto/ccp/hygon/vpsp.c:589: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.