Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Yang Li and committed by
Rafael J. Wysocki
bdc4fd3d 38fec059

+2
+2
drivers/cpufreq/amd-pstate.c
··· 68 68 /** 69 69 * struct amd_cpudata - private CPU data for AMD P-State 70 70 * @cpu: CPU number 71 + * @req: constraint request to apply 71 72 * @cppc_req_cached: cached performance request hints 72 73 * @highest_perf: the maximum performance an individual processor may reach, 73 74 * assuming ideal conditions ··· 81 80 * @min_freq: the frequency that mapped to lowest_perf 82 81 * @nominal_freq: the frequency that mapped to nominal_perf 83 82 * @lowest_nonlinear_freq: the frequency that mapped to lowest_nonlinear_perf 83 + * @boost_supported: check whether the Processor or SBIOS supports boost mode 84 84 * 85 85 * The amd_cpudata is key private data for each CPU thread in AMD P-State, and 86 86 * represents all the attributes and goals that AMD P-State requests at runtime.