aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorYacine Belkadi <yacine.belkadi.1@gmail.com>2012-11-27 15:27:19 -0500
committerMichal Marek <mmarek@suse.cz>2012-12-06 05:49:28 -0500
commit9a52aeeb92853167a67225602b9783f3cf4e578e (patch)
treeaa7da70e2e13d085b2c0b7999eef8aff2aa89ab7 /scripts/coccinelle
parentddf5eabd20c6cc2814fa2c00a1a033776fbc3e44 (diff)
scripts/kernel-doc: check that non-void fcts describe their return value
If a function has a return value, but its kernel-doc comment doesn't contain a "Return" section, then emit the following warning: Warning(file.h:129): No description found for return value of 'fct' Note: This check emits a lot of warnings at the moment, because many functions don't have a 'Return' doc section. So until the number of warnings goes sufficiently down, the check is only performed in verbose mode. Signed-off-by: Yacine Belkadi <yacine.belkadi.1@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/coccinelle')
0 files changed, 0 insertions, 0 deletions