[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <e80a35c7-a9f4-46bf-7036-11375f368ba5@infradead.org>
Date: Mon, 3 Sep 2018 12:55:30 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Andrew Lunn <andrew@...n.ch>, Thomas Gleixner <tglx@...utronix.de>,
Linus Walleij <linus.walleij@...aro.org>,
linux-gpio@...r.kernel.org
Subject: [PATCH] gpio: fix kernel-doc notation warning for 'request_key'
From: Randy Dunlap <rdunlap@...radead.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@...radead.org>
Cc: Andrew Lunn <andrew@...n.ch>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Linus Walleij <linus.walleij@...aro.org>
Cc: linux-gpio@...r.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;
/**
Powered by blists - more mailing lists