Skip to content
Snippets Groups Projects
Commit 5cb5c31c authored by Johannes Berg's avatar Johannes Berg Committed by Jonathan Corbet
Browse files

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: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 8a29896a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment