Home
last modified time | relevance | path

Searched hist:"5 cb5c31cdf246099f7d48a57f448b05b7941cd6a" (Results 1 – 1 of 1) sorted by relevance

/linux/scripts/
H A Dkernel-docdiff 5cb5c31cdf246099f7d48a57f448b05b7941cd6a Tue Sep 19 13:08:13 CEST 2017 Johannes Berg <johannes.berg@intel.com> scripts/kernel-doc: warn on excess enum value descriptions

The existing message
"Excess struct/union/enum/typedef member [...]"
made it sound like this would already be done, but the
code is never invoked for enums or typedefs (and really
can't be).

Add some code to the enum dumper to handle this there
instead.

While at it, also make the above message more accurate
by simply dumping the type that was passed in, and pass
the struct/union differentiation in.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>