All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] genirq/matrix: fix doc warnings in matrix.c
@ 2021-06-05  6:34 Baokun Li
  2021-08-10 14:48 ` [tip: irq/core] genirq/matrix: Fix kernel doc warnings for irq_matrix_alloc_managed() tip-bot2 for Baokun Li
  2021-08-10 20:52 ` tip-bot2 for Baokun Li
  0 siblings, 2 replies; 3+ messages in thread
From: Baokun Li @ 2021-06-05  6:34 UTC (permalink / raw)
  To: tglx, linux-kernel
  Cc: weiyongjun1, yuehaibing, yangjihong1, yukuai3, libaokun1

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 <libaokun1@huawei.com>
---
 kernel/irq/matrix.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kernel/irq/matrix.c b/kernel/irq/matrix.c
index 578596e41cb6..bbfb26489aa1 100644
--- a/kernel/irq/matrix.c
+++ b/kernel/irq/matrix.c
@@ -280,7 +280,8 @@ void irq_matrix_remove_managed(struct irq_matrix *m, const struct cpumask *msk)
 /**
  * irq_matrix_alloc_managed - Allocate a managed interrupt in a CPU map
  * @m:		Matrix pointer
- * @cpu:	On which CPU the interrupt should be allocated
+ * @msk:	Which CPUs to search in
+ * @mapped_cpu:	Pointer to store the CPU for which the irq was allocated
  */
 int irq_matrix_alloc_managed(struct irq_matrix *m, const struct cpumask *msk,
 			     unsigned int *mapped_cpu)
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [tip: irq/core] genirq/matrix: Fix kernel doc warnings for irq_matrix_alloc_managed()
  2021-06-05  6:34 [PATCH -next] genirq/matrix: fix doc warnings in matrix.c Baokun Li
@ 2021-08-10 14:48 ` tip-bot2 for Baokun Li
  2021-08-10 20:52 ` tip-bot2 for Baokun Li
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Baokun Li @ 2021-08-10 14:48 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Baokun Li, Thomas Gleixner, x86, linux-kernel, maz

The following commit has been merged into the irq/core branch of tip:

Commit-ID:     1d07a835819e2d3c85af8f093a02c2e6bca422d6
Gitweb:        https://git.kernel.org/tip/1d07a835819e2d3c85af8f093a02c2e6bca422d6
Author:        Baokun Li <libaokun1@huawei.com>
AuthorDate:    Sat, 05 Jun 2021 14:34:13 +08:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Tue, 10 Aug 2021 16:46:26 +02:00

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 <libaokun1@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210605063413.684085-1-libaokun1@huawei.com

---
 kernel/irq/matrix.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kernel/irq/matrix.c b/kernel/irq/matrix.c
index 578596e..bbfb264 100644
--- a/kernel/irq/matrix.c
+++ b/kernel/irq/matrix.c
@@ -280,7 +280,8 @@ void irq_matrix_remove_managed(struct irq_matrix *m, const struct cpumask *msk)
 /**
  * irq_matrix_alloc_managed - Allocate a managed interrupt in a CPU map
  * @m:		Matrix pointer
- * @cpu:	On which CPU the interrupt should be allocated
+ * @msk:	Which CPUs to search in
+ * @mapped_cpu:	Pointer to store the CPU for which the irq was allocated
  */
 int irq_matrix_alloc_managed(struct irq_matrix *m, const struct cpumask *msk,
 			     unsigned int *mapped_cpu)

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [tip: irq/core] genirq/matrix: Fix kernel doc warnings for irq_matrix_alloc_managed()
  2021-06-05  6:34 [PATCH -next] genirq/matrix: fix doc warnings in matrix.c Baokun Li
  2021-08-10 14:48 ` [tip: irq/core] genirq/matrix: Fix kernel doc warnings for irq_matrix_alloc_managed() tip-bot2 for Baokun Li
@ 2021-08-10 20:52 ` tip-bot2 for Baokun Li
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Baokun Li @ 2021-08-10 20:52 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: Baokun Li, Thomas Gleixner, x86, linux-kernel, maz

The following commit has been merged into the irq/core branch of tip:

Commit-ID:     92848731c45f4f9c3d9818e6b4ba1b2884002324
Gitweb:        https://git.kernel.org/tip/92848731c45f4f9c3d9818e6b4ba1b2884002324
Author:        Baokun Li <libaokun1@huawei.com>
AuthorDate:    Sat, 05 Jun 2021 14:34:13 +08:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Tue, 10 Aug 2021 22:50:07 +02:00

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 <libaokun1@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210605063413.684085-1-libaokun1@huawei.com


---
 kernel/irq/matrix.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kernel/irq/matrix.c b/kernel/irq/matrix.c
index 578596e..bbfb264 100644
--- a/kernel/irq/matrix.c
+++ b/kernel/irq/matrix.c
@@ -280,7 +280,8 @@ void irq_matrix_remove_managed(struct irq_matrix *m, const struct cpumask *msk)
 /**
  * irq_matrix_alloc_managed - Allocate a managed interrupt in a CPU map
  * @m:		Matrix pointer
- * @cpu:	On which CPU the interrupt should be allocated
+ * @msk:	Which CPUs to search in
+ * @mapped_cpu:	Pointer to store the CPU for which the irq was allocated
  */
 int irq_matrix_alloc_managed(struct irq_matrix *m, const struct cpumask *msk,
 			     unsigned int *mapped_cpu)

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-10 20:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-05  6:34 [PATCH -next] genirq/matrix: fix doc warnings in matrix.c Baokun Li
2021-08-10 14:48 ` [tip: irq/core] genirq/matrix: Fix kernel doc warnings for irq_matrix_alloc_managed() tip-bot2 for Baokun Li
2021-08-10 20:52 ` tip-bot2 for Baokun Li

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.