* Re: [RFC PATCH 2/2] cpufreq: Pass the policy to cpufreq_driver->adjust_perf()
[not found] <20260106073608.278644-3-kprateek.nayak@amd.com>
@ 2026-01-06 20:41 ` kernel test robot
2026-01-07 4:47 ` K Prateek Nayak
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2026-01-06 20:41 UTC (permalink / raw)
To: K Prateek Nayak; +Cc: llvm, oe-kbuild-all
Hi Prateek,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build warnings:
[auto build test WARNING on 8aa9e2868a8e38ccc5228399fc641d54aea444ed]
url: https://github.com/intel-lab-lkp/linux/commits/K-Prateek-Nayak/cpufreq-amd-pstate-Pass-the-policy-to-amd_pstate_update/20260106-154118
base: 8aa9e2868a8e38ccc5228399fc641d54aea444ed
patch link: https://lore.kernel.org/r/20260106073608.278644-3-kprateek.nayak%40amd.com
patch subject: [RFC PATCH 2/2] cpufreq: Pass the policy to cpufreq_driver->adjust_perf()
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260106/202601062141.sfoMtUSB-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/20260106/202601062141.sfoMtUSB-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/202601062141.sfoMtUSB-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> Warning: drivers/cpufreq/cpufreq.c:2250 function parameter 'policy' not described in 'cpufreq_driver_adjust_perf'
>> Warning: drivers/cpufreq/cpufreq.c:2250 function parameter 'policy' not described in 'cpufreq_driver_adjust_perf'
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [RFC PATCH 2/2] cpufreq: Pass the policy to cpufreq_driver->adjust_perf()
2026-01-06 20:41 ` [RFC PATCH 2/2] cpufreq: Pass the policy to cpufreq_driver->adjust_perf() kernel test robot
@ 2026-01-07 4:47 ` K Prateek Nayak
0 siblings, 0 replies; 2+ messages in thread
From: K Prateek Nayak @ 2026-01-07 4:47 UTC (permalink / raw)
To: kernel test robot; +Cc: llvm, oe-kbuild-all
On 1/7/2026 2:11 AM, kernel test robot wrote:
> Hi Prateek,
>
> [This is a private test report for your RFC patch.]
> kernel test robot noticed the following build warnings:
>
> [auto build test WARNING on 8aa9e2868a8e38ccc5228399fc641d54aea444ed]
>
> url: https://github.com/intel-lab-lkp/linux/commits/K-Prateek-Nayak/cpufreq-amd-pstate-Pass-the-policy-to-amd_pstate_update/20260106-154118
> base: 8aa9e2868a8e38ccc5228399fc641d54aea444ed
> patch link: https://lore.kernel.org/r/20260106073608.278644-3-kprateek.nayak%40amd.com
> patch subject: [RFC PATCH 2/2] cpufreq: Pass the policy to cpufreq_driver->adjust_perf()
> config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260106/202601062141.sfoMtUSB-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/20260106/202601062141.sfoMtUSB-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/202601062141.sfoMtUSB-lkp@intel.com/
>
> All warnings (new ones prefixed by >>):
>
>>> Warning: drivers/cpufreq/cpufreq.c:2250 function parameter 'policy' not described in 'cpufreq_driver_adjust_perf'
>>> Warning: drivers/cpufreq/cpufreq.c:2250 function parameter 'policy' not described in 'cpufreq_driver_adjust_perf'
Looks like I forgot to update the doc
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index 8bdc8f9b8d86..87fcf9456dbb 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -2225,7 +2225,7 @@ EXPORT_SYMBOL_GPL(cpufreq_driver_fast_switch);
/**
* cpufreq_driver_adjust_perf - Adjust CPU performance level in one go.
- * @cpu: Target CPU.
+ * @policy: The cpufreq_policy object of the target CPU.
* @min_perf: Minimum (required) performance level (units of @capacity).
* @target_perf: Target (desired) performance level (units of @capacity).
* @capacity: Capacity of the target CPU.
--
Thanks and Regards,
Prateek
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-07 4:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20260106073608.278644-3-kprateek.nayak@amd.com>
2026-01-06 20:41 ` [RFC PATCH 2/2] cpufreq: Pass the policy to cpufreq_driver->adjust_perf() kernel test robot
2026-01-07 4:47 ` K Prateek Nayak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox