diff options
author | Yacine Belkadi <yacine.belkadi.1@gmail.com> | 2012-11-26 22:22:27 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-11-27 21:09:35 +0100 |
commit | 4092bac77131048b8f69cb1f939326c55d93709f (patch) | |
tree | d6ef89dcde5b3ad99b27e27b1d51ef2bbff217f8 /scripts/patch-kernel | |
parent | Kernel-doc: Convention: Use a "Return" section to describe return values (diff) | |
download | linux-4092bac77131048b8f69cb1f939326c55d93709f.tar.xz linux-4092bac77131048b8f69cb1f939326c55d93709f.zip |
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>
Signed-off-by: Rob Landley <rob@landley.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions