[lkml]   [2017]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectkernel-doc: handle DECLARE_KFIFO() ?
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);


 \ /
  Last update: 2017-09-17 03:40    [W:0.021 / U:1.196 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site