Skip to content

Commit fda7be2

Browse files
Yang Lirafaeljw
authored andcommitted
ACPI: CPPC: Fix some kernel-doc comments
Add the description of @pcc_ss_id in pcc_data_alloc(). Add the description of @cpu_num in cppc_get_transition_latency(). clear the below warnings: drivers/acpi/cppc_acpi.c:607: warning: Function parameter or member 'pcc_ss_id' not described in 'pcc_data_alloc' drivers/acpi/cppc_acpi.c:1616: warning: Function parameter or member 'cpu_num' not described in 'cppc_get_transition_latency' Reported-by: Abaci Robot <[email protected]> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3983 Signed-off-by: Yang Li <[email protected]> [ rjw: Dropped redundant empty code lines, minor edits ] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 4ec5183 commit fda7be2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/acpi/cppc_acpi.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,7 @@ bool __weak cpc_supported_by_cpu(void)
595595

596596
/**
597597
* pcc_data_alloc() - Allocate the pcc_data memory for pcc subspace
598+
* @pcc_ss_id: PCC Subspace index as in the PCC client ACPI package.
598599
*
599600
* Check and allocate the cppc_pcc_data memory.
600601
* In some processor configurations it is possible that same subspace
@@ -1536,6 +1537,7 @@ EXPORT_SYMBOL_GPL(cppc_set_perf);
15361537

15371538
/**
15381539
* cppc_get_transition_latency - returns frequency transition latency in ns
1540+
* @cpu_num: CPU number for per_cpu().
15391541
*
15401542
* ACPI CPPC does not explicitly specify how a platform can specify the
15411543
* transition latency for performance change requests. The closest we have

0 commit comments

Comments
 (0)