From: Yacine Belkadi Date: Mon, 26 Nov 2012 21:22:27 +0000 (+0100) Subject: scripts/kernel-doc: check that non-void fcts describe their return value X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~37^2~8 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4092bac77131048b8f69cb1f939326c55d93709f;p=pandora-kernel.git 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 Signed-off-by: Rob Landley Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed