* [PATCH] gpio: fix kernel-doc notation warning for 'request_key'
@ 2018-09-03 19:55 Randy Dunlap
2018-09-05 12:01 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2018-09-03 19:55 UTC (permalink / raw)
To: LKML; +Cc: Andrew Lunn, Thomas Gleixner, Linus Walleij, linux-gpio
From: Randy Dunlap <rdunlap@infradead.org>
Fix kernel-doc warning for missing struct member 'request_key':
../include/linux/gpio/driver.h:142: warning: Function parameter or member 'request_key' not described in 'gpio_irq_chip'
Fixes: 39c3fd58952d ("kernel/irq: Extend lockdep class for request mutex")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-gpio@vger.kernel.org
---
include/linux/gpio/driver.h | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
--- lnx-419-rc2.orig/include/linux/gpio/driver.h
+++ lnx-419-rc2/include/linux/gpio/driver.h
@@ -66,9 +66,15 @@ struct gpio_irq_chip {
/**
* @lock_key:
*
- * Per GPIO IRQ chip lockdep classes.
+ * Per GPIO IRQ chip lockdep class for IRQ lock.
*/
struct lock_class_key *lock_key;
+
+ /**
+ * @request_key:
+ *
+ * Per GPIO IRQ chip lockdep class for IRQ request.
+ */
struct lock_class_key *request_key;
/**
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] gpio: fix kernel-doc notation warning for 'request_key'
2018-09-03 19:55 [PATCH] gpio: fix kernel-doc notation warning for 'request_key' Randy Dunlap
@ 2018-09-05 12:01 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2018-09-05 12:01 UTC (permalink / raw)
To: Randy Dunlap
Cc: linux-kernel, Andrew Lunn, Thomas Gleixner, open list:GPIO SUBSYSTEM
On Mon, Sep 3, 2018 at 9:55 PM Randy Dunlap <rdunlap@infradead.org> wrote:
> From: Randy Dunlap <rdunlap@infradead.org>
>
> Fix kernel-doc warning for missing struct member 'request_key':
>
> ../include/linux/gpio/driver.h:142: warning: Function parameter or member 'request_key' not described in 'gpio_irq_chip'
>
> Fixes: 39c3fd58952d ("kernel/irq: Extend lockdep class for request mutex")
Patch applied. Thanks for spending time with documentation!
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-09-05 12:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-03 19:55 [PATCH] gpio: fix kernel-doc notation warning for 'request_key' Randy Dunlap
2018-09-05 12:01 ` 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).