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

\
 
 \ /
  Last update: 2017-09-17 03:40    [W:0.025 / U:17.004 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site