Home
last modified time | relevance | path

Searched hist:b22b5a9ef5309287b86bac9eb47f17a12671b770 (Results 1 – 1 of 1) sorted by relevance

/linux/scripts/
H A Dkernel-docdiff b22b5a9ef5309287b86bac9eb47f17a12671b770 Sun Nov 08 10:52:00 CET 2015 Conchúr Navid <conchur@web.de> kernel-doc: Fix parsing of DECLARE_BITMAP in struct

Some documented structures in the kernel use DECLARE_BITMAP to create
arrays of unsigned longs to store information using the bitmap functions.
These have to be replaced with a parsable version for kernel-doc.

For example a simple input like

/**
* struct something - some test
* @members: active members
*/
struct something {
DECLARE_BITMAP(members, MAX_MEMBERS);
};

resulted in parsing warnings like

warning: No description found for parameter 'MAX_MEMBERS)'
warning: Excess struct/union/enum/typedef member 'members' description in 'something'

Signed-off-by: Conchúr Navid <conchur@web.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>