cpufreq: amd-pstate: Fix struct amd_cpudata kernel-doc comment
Subsystems (2)
PATCH 1/1 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'
--- drivers/cpufreq/amd-pstate.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/cpufreq/amd-pstate.c +2 -0
@@ -68,6 +68,7 @@ static struct cpufreq_driver amd_pstate_driver;/** * struct amd_cpudata - private CPU data for AMD P-State * @cpu: CPU number +* @req: constraint request to apply * @cppc_req_cached: cached performance request hints * @highest_perf: the maximum performance an individual processor may reach, * assuming ideal conditions
@@ -80,6 +81,7 @@ static struct cpufreq_driver amd_pstate_driver;* @min_freq: the frequency that mapped to lowest_perf * @nominal_freq: the frequency that mapped to nominal_perf * @lowest_nonlinear_freq: the frequency that mapped to lowest_nonlinear_perf +* @boost_supported: check whether the Processor or SBIOS supports boost mode * * The amd_cpudata is key private data for each CPU thread in AMD P-State, and * represents all the attributes and goals that AMD P-State requests at runtime.
Signature · 1 line
2.20.1.7.g153144c
Quoted 11 lines · Yang Li
Add the description of @req and @boost_supported in struct
amd_cpudatakernel-doc comment to remove warnings found by runningscripts/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 <[email protected]>Signed-off-by Yang Li <[email protected]>
Quoted 27 lines
--- drivers/cpufreq/amd-pstate.c | 2 ++ 1 file changed, 2 insertions(+)drivers/cpufreq/amd-pstate.c +2
-0@@ -68,6 +68,7 @@ static struct cpufreq_driver amd_pstate_driver;/** * struct amd_cpudata - private CPU data for AMD P-State * @cpu: CPU number +* @req: constraint request to apply * @cppc_req_cached: cached performance request hints * @highest_perf: the maximum performance an individual processor may reach, * assuming ideal conditions @@ -80,6 +81,7 @@ static struct cpufreq_driver amd_pstate_driver;* @min_freq: the frequency that mapped to lowest_perf * @nominal_freq: the frequency that mapped to nominal_perf * @lowest_nonlinear_freq: the frequency that mapped to lowest_nonlinear_perf +* @boost_supported: check whether the Processor or SBIOS supports boost mode * * The amd_cpudata is key private data for each CPU thread in AMD P-State, and * represents all the attributes and goals that AMD P-State requests at runtime. Signature · 1 line
2.20.1.7.g153144c
Quoted 11 lines · Huang Rui
Quoted 9 lines · Yang Li
Add the description of @req and @boost_supported in struct
amd_cpudatakernel-doc comment to remove warnings found by runningscripts/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'
Quoted 4 lines
Quoted 2 lines
Reported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>Acked-by Huang Rui <[email protected]>
Applied, thanks!