Skip to content

Commit

Permalink
Coccinelle: Restore coccicheck verbosity in ONLINE mode (C=1 or C=2)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nicolas Palix authored and Michal Marek committed Apr 8, 2013
1 parent 4c6e00c commit 35d88a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/coccicheck
Original file line number Diff line number Diff line change
Expand Up @@ -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/||"`

Expand Down

0 comments on commit 35d88a3

Please sign in to comment.