From: kernel test robot <lkp@intel.com>
To: kernel@openeuler.org
Cc: oe-kbuild-all@lists.linux.dev
Subject: [openeuler:OLK-6.6 2411/2411] drivers/crypto/ccp/hygon/psp-dev.c:25:10: warning: no previous prototype for 'atomic64_exchange'
Date: Sun, 29 Jun 2025 12:30:10 +0200 [thread overview]
Message-ID: <202506291256.D2SqWOXZ-lkp@intel.com> (raw)
tree: https://gitee.com/openeuler/kernel.git OLK-6.6
head: c02455c4cce8052f74fc11c09e9073c01c7f33a4
commit: fe08767e3a083e73a72f08432bc6fbd864fa7179 [2411/2411] drivers/crypto/ccp: concurrent psp access support between user and kernel space
config: x86_64-buildonly-randconfig-2001-20250626 (https://download.01.org/0day-ci/archive/20250629/202506291256.D2SqWOXZ-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250629/202506291256.D2SqWOXZ-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/202506291256.D2SqWOXZ-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/crypto/ccp/hygon/psp-dev.c:25:10: warning: no previous prototype for 'atomic64_exchange' [-Wmissing-prototypes]
25 | uint64_t atomic64_exchange(uint64_t *dst, uint64_t val)
| ^~~~~~~~~~~~~~~~~
>> drivers/crypto/ccp/hygon/psp-dev.c:30:5: warning: no previous prototype for 'psp_mutex_init' [-Wmissing-prototypes]
30 | int psp_mutex_init(struct psp_mutex *mutex)
| ^~~~~~~~~~~~~~
drivers/crypto/ccp/hygon/psp-dev.c:38:5: warning: no previous prototype for 'psp_mutex_trylock' [-Wmissing-prototypes]
38 | int psp_mutex_trylock(struct psp_mutex *mutex)
| ^~~~~~~~~~~~~~~~~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for ACPI_HOTPLUG_IGNORE_OSC
Depends on [n]: ACPI [=y] && ACPI_HOTPLUG_CPU [=n]
Selected by [y]:
- X86 [=y] && ACPI [=y] && HOTPLUG_CPU [=y]
vim +/atomic64_exchange +25 drivers/crypto/ccp/hygon/psp-dev.c
24
> 25 uint64_t atomic64_exchange(uint64_t *dst, uint64_t val)
26 {
27 return xchg(dst, val);
28 }
29
> 30 int psp_mutex_init(struct psp_mutex *mutex)
31 {
32 if (!mutex)
33 return -1;
34 mutex->locked = 0;
35 return 0;
36 }
37
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-06-29 10:30 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=202506291256.D2SqWOXZ-lkp@intel.com \
--to=lkp@intel.com \
--cc=kernel@openeuler.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 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.