From: Nicolas Palix Date: Sat, 2 Mar 2013 21:36:25 +0000 (+0100) Subject: Coccinelle: Restore coccicheck verbosity in ONLINE mode (C=1 or C=2) X-Git-Tag: v3.10-rc1~71^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=35d88a38710583f3b5afc3255d7bc190a50e1af7;p=platform%2Fkernel%2Flinux-3.10.git Coccinelle: Restore coccicheck verbosity in ONLINE mode (C=1 or C=2) A recent patch have introduce the VERBOSE variable and comments now depend on it. However, the message printed for each cocci file such not be printed when the ONLINE mode is active, whatever is the value of VERBOSE. Signed-off-by: Nicolas Palix Signed-off-by: Michal Marek --- diff --git a/scripts/coccicheck b/scripts/coccicheck index 85d3189..7f0d6a6 100755 --- a/scripts/coccicheck +++ b/scripts/coccicheck @@ -72,7 +72,7 @@ coccinelle () { # # $SPATCH -D $MODE $FLAGS -parse_cocci $COCCI $OPT > /dev/null - if [ $VERBOSE -ne 0 ] ; then + if [ $VERBOSE -ne 0 -a $ONLINE -eq 0 ] ; then FILE=`echo $COCCI | sed "s|$srctree/||"`