From c7eaa8873b3e50667e0b6529141139147f34748e Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Sat, 30 Jan 2016 17:13:54 +0100 Subject: Coccinelle: array_size: 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/array_size.cocci b/scripts/coccinelle/misc/array_size.cocci index 81e279c..6ec0571 100644 --- a/scripts/coccinelle/misc/array_size.cocci +++ b/scripts/coccinelle/misc/array_size.cocci @@ -59,7 +59,7 @@ T[] E; // For org and report mode //---------------------------------------------------------- -@r@ +@r depends on (org || report)@ type T; T[] E; position p; -- cgit v0.10.2