Skip to content

Commit bdc4fd3

Browse files
Yang Lirafaeljw
authored andcommitted
cpufreq: amd-pstate: Fix struct amd_cpudata kernel-doc comment
Add the description of @Req and @boost_supported in struct amd_cpudata kernel-doc comment to remove warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. drivers/cpufreq/amd-pstate.c:104: warning: Function parameter or member 'req' not described in 'amd_cpudata' drivers/cpufreq/amd-pstate.c:104: warning: Function parameter or member 'boost_supported' not described in 'amd_cpudata' Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Acked-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 38fec05 commit bdc4fd3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/cpufreq/amd-pstate.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ static struct cpufreq_driver amd_pstate_driver;
6868
/**
6969
* struct amd_cpudata - private CPU data for AMD P-State
7070
* @cpu: CPU number
71+
* @req: constraint request to apply
7172
* @cppc_req_cached: cached performance request hints
7273
* @highest_perf: the maximum performance an individual processor may reach,
7374
* assuming ideal conditions
@@ -80,6 +81,7 @@ static struct cpufreq_driver amd_pstate_driver;
8081
* @min_freq: the frequency that mapped to lowest_perf
8182
* @nominal_freq: the frequency that mapped to nominal_perf
8283
* @lowest_nonlinear_freq: the frequency that mapped to lowest_nonlinear_perf
84+
* @boost_supported: check whether the Processor or SBIOS supports boost mode
8385
*
8486
* The amd_cpudata is key private data for each CPU thread in AMD P-State, and
8587
* represents all the attributes and goals that AMD P-State requests at runtime.

0 commit comments

Comments
 (0)