aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bloat-o-meter
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2008-04-28 02:16:34 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 08:58:48 -0700
commit94dc7ad5502e7d74e2fd74651743f5f1773aa1fe (patch)
treebc3c58105501b9fcba90b3e686a44c9d8e9ef8b3 /scripts/bloat-o-meter
parent9f354858b8ea29e969b82dd96caea376157d76ca (diff)
downloadkernel_samsung_smdk4412-94dc7ad5502e7d74e2fd74651743f5f1773aa1fe.tar.gz
kernel_samsung_smdk4412-94dc7ad5502e7d74e2fd74651743f5f1773aa1fe.tar.bz2
kernel_samsung_smdk4412-94dc7ad5502e7d74e2fd74651743f5f1773aa1fe.zip
kernel-doc: detect/prevent duplicate doc section names
I saw this problem recently. With this kernel-doc: * Note: some important info * * Note: other important info kernel-doc uses the "section name" (preceding the ':', like "Note") as a hash key for storing the descriptive text ("blah important info"). It is (was) possible to have duplicate (colliding) section names, without any kind of warning or error. kernel-doc happily used the latter descriptive text for all instances of printing the <section-name> descriptive text and the former important info was lost. One way to "fix" this is to modify the kernel-doc comments, e.g.: * Note1: foo bar * * Note.2: blah zay For now, kernel-doc will signal an error when it sees colliding section names like this. 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>
Diffstat (limited to 'scripts/bloat-o-meter')
0 files changed, 0 insertions, 0 deletions