]> err.no Git - linux-2.6/commit
kernel-doc: skip nested struct/union cleanly
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 5 Aug 2008 20:01:32 +0000 (13:01 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 5 Aug 2008 21:33:49 +0000 (14:33 -0700)
commit32ab8f97dd95592b17e684f7722caa0556087b99
treecf6393627f7a2ef9d7f8d6844ddca0afb59aa68a
parentd2dc1f4adb4b5b02d87e49e115e5107f4da790c0
kernel-doc: skip nested struct/union cleanly

Fix handling of nested structs or unions.  The regex to strip (eliminate)
nested structs or unions was limited to only 0 or 1 matches.  This can
cause an uneven number of left/right braces to be stripped, which causes
this:

Warning(linux-2.6.27-rc1-git2//include/net/mac80211.h:336): No description found for parameter '}'

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/kernel-doc