[PATCH 3/4] aiaiai-checker: use --no-data for smatch

dedekind1 at gmail.com dedekind1 at gmail.com
Thu Apr 24 17:13:05 PDT 2014


From: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>

Otherwise smatch complains about missing data, which will show up in diff-log
when new files are added.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
---
 helpers/aiaiai-checker | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helpers/aiaiai-checker b/helpers/aiaiai-checker
index b3f7274..6aa8e79 100755
--- a/helpers/aiaiai-checker
+++ b/helpers/aiaiai-checker
@@ -185,7 +185,7 @@ fi
 if [ -n "$run_smatch" ]; then
 	# Smatch uses stderr for reporting about internal issues and stdout for
 	# check results
-	smatch --project=kernel "$@" > "$tmpdir/smatch" 2>/dev/null &
+	smatch --no-data --project=kernel "$@" > "$tmpdir/smatch" 2>/dev/null &
 	pid_smatch="$!"
 fi
 if [ -n "$run_cppcheck" ]; then
-- 
1.9.0




More information about the aiaiai mailing list