diff options
author | Nicolas Palix <nicolas.palix@imag.fr> | 2013-03-02 16:36:25 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2013-04-08 09:42:02 -0400 |
commit | 35d88a38710583f3b5afc3255d7bc190a50e1af7 (patch) | |
tree | fc4a961475f93380049e3e83316862e6d3d15b1c /scripts/coccicheck | |
parent | 4c6e00cffcd478a369b6fd0ba61f5b0f9643ff43 (diff) |
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 <nicolas.palix@imag.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/coccicheck')
-rwxr-xr-x | scripts/coccicheck | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/coccicheck b/scripts/coccicheck index 85d31899ad98..7f0d6a6c5000 100755 --- a/scripts/coccicheck +++ b/scripts/coccicheck | |||
@@ -72,7 +72,7 @@ coccinelle () { | |||
72 | # | 72 | # |
73 | # $SPATCH -D $MODE $FLAGS -parse_cocci $COCCI $OPT > /dev/null | 73 | # $SPATCH -D $MODE $FLAGS -parse_cocci $COCCI $OPT > /dev/null |
74 | 74 | ||
75 | if [ $VERBOSE -ne 0 ] ; then | 75 | if [ $VERBOSE -ne 0 -a $ONLINE -eq 0 ] ; then |
76 | 76 | ||
77 | FILE=`echo $COCCI | sed "s|$srctree/||"` | 77 | FILE=`echo $COCCI | sed "s|$srctree/||"` |
78 | 78 | ||