UPSTREAM: Coccinelle: array_size: reduce rule applicability
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 30 Jan 2016 16:13:54 +0000 (17:13 +0100)
committerHuang, Tao <huangtao@rock-chips.com>
Wed, 12 Jul 2017 13:17:10 +0000 (21:17 +0800)
commita6a3fd80955b1a707c047455f0089925c9c3750a
tree446ff9d8720150460ea37c27545a382b212786f6
parent94e1aa80249b5b0eec8e1ab00fde4ab822d1a589
UPSTREAM: Coccinelle: array_size: reduce rule applicability

Rule r is only use in org or report mode, so only execute it in those
cases.

Change-Id: I00224a5dda297070e31defd650247261e08dc830
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Michal Marek <mmarek@suse.com>
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
(cherry picked from commit c7eaa8873b3e50667e0b6529141139147f34748e)
scripts/coccinelle/misc/array_size.cocci