Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [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
@ 2025-05-07 22:09 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-07 22:09 UTC (permalink / raw)
  To: Ulf Hansson; +Cc: llvm, oe-kbuild-all

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

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

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

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox