Skip to content

Commit 9284873

Browse files
LiBaokun96KAGA-KOKO
authored andcommitted
genirq/matrix: Fix kernel doc warnings for irq_matrix_alloc_managed()
Describe the arguments correctly. Fixes the following W=1 kernel build warning(s): kernel/irq/matrix.c:287: warning: Function parameter or member 'msk' not described in 'irq_matrix_alloc_managed' kernel/irq/matrix.c:287: warning: Function parameter or member 'mapped_cpu' not described in 'irq_matrix_alloc_managed' kernel/irq/matrix.c:287: warning: Excess function parameter 'cpu' description in 'irq_matrix_alloc_managed' Signed-off-by: Baokun Li <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 91cc470 commit 9284873

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kernel/irq/matrix.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,8 @@ void irq_matrix_remove_managed(struct irq_matrix *m, const struct cpumask *msk)
280280
/**
281281
* irq_matrix_alloc_managed - Allocate a managed interrupt in a CPU map
282282
* @m: Matrix pointer
283-
* @cpu: On which CPU the interrupt should be allocated
283+
* @msk: Which CPUs to search in
284+
* @mapped_cpu: Pointer to store the CPU for which the irq was allocated
284285
*/
285286
int irq_matrix_alloc_managed(struct irq_matrix *m, const struct cpumask *msk,
286287
unsigned int *mapped_cpu)

0 commit comments

Comments
 (0)