Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <Julia.Lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.com>

authored by

Julia Lawall and committed by
Michal Marek
c7eaa887 8f551bef

+1 -1
+1 -1
scripts/coccinelle/misc/array_size.cocci
··· 59 59 // For org and report mode 60 60 //---------------------------------------------------------- 61 61 62 - @r@ 62 + @r depends on (org || report)@ 63 63 type T; 64 64 T[] E; 65 65 position p;