Messages in this thread | | | From | Randy Dunlap <> | Subject | kernel-doc: handle DECLARE_KFIFO() ? | Date | Sat, 16 Sep 2017 18:40:28 -0700 |
| |
scripts/kernel-doc handles DECLARE_BITMAP() and DECLARE_HASHTABLE().
Recently drivers/gpio/gpiolib.c has been changed to use DECLARE_KFIFO() *and* that is inside kernel-doc notation, but scripts/kernel-doc doesn't know about DECLARE_KFIFO(), so it causes these warnings:
../drivers/gpio/gpiolib.c:593: warning: No description found for parameter '16' ../drivers/gpio/gpiolib.c:593: warning: Excess struct/union/enum/typedef member 'events' description in 'lineevent_state'
DECLARE_KFIFO(events, struct gpioevent_data, 16);
-- ~Randy
| |