kernel-doc: handle DECLARE_KFIFO() ?

From: Randy Dunlap
Date: Sat Sep 16 2017 - 21:40:40 EST


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