From: kernel test robot <lkp@intel.com>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [ulf-hansson-pm:psci_s2idle_deep_v3 2/9] drivers/acpi/arm64/cpuidle.c:65:10: error: too few arguments to function call, expected 2, have 1
Date: Thu, 8 May 2025 06:09:17 +0800 [thread overview]
Message-ID: <202505080644.bqOskuhU-lkp@intel.com> (raw)
tree: git://git.linaro.org/people/ulf.hansson/linux-pm.git psci_s2idle_deep_v3
head: dece57a7457f9f17a347fe697fb32b613e6c0c1c
commit: be7c3841af64d8463dc80a59d5560bc108fec682 [2/9] cpuidle: psci: Inform psci_cpu_suspend_enter() about s2idle
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20250508/202505080644.bqOskuhU-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250508/202505080644.bqOskuhU-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/202505080644.bqOskuhU-lkp@intel.com/
All errors (new ones prefixed by >>):
>> drivers/acpi/arm64/cpuidle.c:65:10: error: too few arguments to function call, expected 2, have 1
65 | return CPU_PM_CPU_IDLE_ENTER_RETENTION_PARAM_RCU(psci_cpu_suspend_enter,
| ^ ~~~~~~~~~~~~~~~~~~~~~~
include/linux/cpuidle.h:350:2: note: expanded from macro 'CPU_PM_CPU_IDLE_ENTER_RETENTION_PARAM_RCU'
350 | __CPU_PM_CPU_IDLE_ENTER(low_level_idle_enter, idx, state, 1, 1)
| ^ ~~~~~~~~~~~~~~~~~~~~
include/linux/cpuidle.h:324:37: note: expanded from macro '__CPU_PM_CPU_IDLE_ENTER'
324 | __ret = low_level_idle_enter(state); \
| ~~~~~~~~~~~~~~~~~~~~ ^
include/linux/psci.h:19:5: note: 'psci_cpu_suspend_enter' declared here
19 | int psci_cpu_suspend_enter(u32 state, bool s2idle);
| ^ ~~~~~~~~~~~~~~~~~~~~~~
drivers/acpi/arm64/cpuidle.c:68:10: error: too few arguments to function call, expected 2, have 1
68 | return CPU_PM_CPU_IDLE_ENTER_PARAM_RCU(psci_cpu_suspend_enter,
| ^ ~~~~~~~~~~~~~~~~~~~~~~
include/linux/cpuidle.h:344:2: note: expanded from macro 'CPU_PM_CPU_IDLE_ENTER_PARAM_RCU'
344 | __CPU_PM_CPU_IDLE_ENTER(low_level_idle_enter, idx, state, 0, 1)
| ^ ~~~~~~~~~~~~~~~~~~~~
include/linux/cpuidle.h:324:37: note: expanded from macro '__CPU_PM_CPU_IDLE_ENTER'
324 | __ret = low_level_idle_enter(state); \
| ~~~~~~~~~~~~~~~~~~~~ ^
include/linux/psci.h:19:5: note: 'psci_cpu_suspend_enter' declared here
19 | int psci_cpu_suspend_enter(u32 state, bool s2idle);
| ^ ~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
vim +65 drivers/acpi/arm64/cpuidle.c
5a611ed969b042 arch/arm64/kernel/cpuidle.c Sudeep Holla 2016-07-19 59
69e26b4f43ed39 arch/arm64/kernel/cpuidle.c Peter Zijlstra 2023-01-12 60 __cpuidle int acpi_processor_ffh_lpi_enter(struct acpi_lpi_state *lpi)
5a611ed969b042 arch/arm64/kernel/cpuidle.c Sudeep Holla 2016-07-19 61 {
9ffeb6d08c3a4b arch/arm64/kernel/cpuidle.c Lorenzo Pieralisi 2019-08-09 62 u32 state = lpi->address;
9ffeb6d08c3a4b arch/arm64/kernel/cpuidle.c Lorenzo Pieralisi 2019-08-09 63
8b9951ed7e5b51 arch/arm64/kernel/cpuidle.c Prashanth Prakash 2017-11-15 64 if (ARM64_LPI_IS_RETENTION_STATE(lpi->arch_flags))
19235e47279894 arch/arm64/kernel/cpuidle.c Peter Zijlstra 2023-01-17 @65 return CPU_PM_CPU_IDLE_ENTER_RETENTION_PARAM_RCU(psci_cpu_suspend_enter,
:::::: The code at line 65 was first introduced by commit
:::::: 19235e47279894b033a3ec5cf2732de634862b3a cpuidle, arm64: Fix the ARM64 cpuidle logic
:::::: TO: Peter Zijlstra <peterz@infradead.org>
:::::: CC: Ingo Molnar <mingo@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-05-07 22:09 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=202505080644.bqOskuhU-lkp@intel.com \
--to=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ulf.hansson@linaro.org \
/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