linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] pinctrl: Fix kernel-doc
@ 2021-05-26  3:07 Yang Li
  2021-05-28  0:42 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Yang Li @ 2021-05-26  3:07 UTC (permalink / raw)
  To: tony
  Cc: haojian.zhuang, linus.walleij, linux-arm-kernel, linux-omap,
	linux-gpio, linux-kernel, Yang Li

Fix function name in pinctrl-single.c kernel-doc comment
to remove a warning found by clang_w1.

drivers/pinctrl/pinctrl-single.c:1523: warning: expecting prototype for
pcs_irq_handle(). Prototype was for pcs_irq_chain_handler() instead.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/pinctrl/pinctrl-single.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pinctrl/pinctrl-single.c
index 2c9c983..7834d5d 100644
--- a/drivers/pinctrl/pinctrl-single.c
+++ b/drivers/pinctrl/pinctrl-single.c
@@ -1513,7 +1513,7 @@ static irqreturn_t pcs_irq_handler(int irq, void *d)
 }
 
 /**
- * pcs_irq_handle() - handler for the dedicated chained interrupt case
+ * pcs_irq_chain_handler() - handler for the dedicated chained interrupt case
  * @desc: interrupt descriptor
  *
  * Use this if you have a separate interrupt for each
-- 
1.8.3.1


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

* Re: [PATCH] pinctrl: Fix kernel-doc
  2021-05-26  3:07 [PATCH] pinctrl: Fix kernel-doc Yang Li
@ 2021-05-28  0:42 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2021-05-28  0:42 UTC (permalink / raw)
  To: Yang Li
  Cc: ext Tony Lindgren, Haojian Zhuang, Linux ARM, Linux-OMAP,
	open list:GPIO SUBSYSTEM, linux-kernel

On Wed, May 26, 2021 at 5:07 AM Yang Li <yang.lee@linux.alibaba.com> wrote:

> Fix function name in pinctrl-single.c kernel-doc comment
> to remove a warning found by clang_w1.
>
> drivers/pinctrl/pinctrl-single.c:1523: warning: expecting prototype for
> pcs_irq_handle(). Prototype was for pcs_irq_chain_handler() instead.
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

Patch applied.

Yours,
Linus Walleij

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

end of thread, other threads:[~2021-05-28  0:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-26  3:07 [PATCH] pinctrl: Fix kernel-doc Yang Li
2021-05-28  0:42 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).