From: Julia Lawall Date: Wed, 3 Feb 2016 18:05:46 +0000 (+0100) Subject: coccinelle: bugon: reduce rule applicability X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f75621c6ecadbd1802a7142fd346511cea05250a;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git coccinelle: bugon: reduce rule applicability Rule r is only use in org or report mode, so only execute it in those cases. Signed-off-by: Julia Lawall Signed-off-by: Michal Marek --- diff --git a/scripts/coccinelle/misc/bugon.cocci b/scripts/coccinelle/misc/bugon.cocci index 27c97f1f2767..741586094abe 100644 --- a/scripts/coccinelle/misc/bugon.cocci +++ b/scripts/coccinelle/misc/bugon.cocci @@ -40,7 +40,7 @@ expression e; // For org and report mode //---------------------------------------------------------- -@r@ +@r depends on (org || report)@ expression e; position p; @@