Coccinelle: reduce rule applicability
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 30 Jan 2016 15:27:04 +0000 (16:27 +0100)
committerMichal Marek <mmarek@suse.com>
Thu, 18 Feb 2016 21:05:30 +0000 (22:05 +0100)
commit8f551befa2269dc244bcfbcad795132f833cb71c
tree03ca57d323adc3e09bdf4ab4f2ba7f20a33dd8d3
parent0a9e7da660b09f5304bf2b4d3fa8abc938af439a
Coccinelle: 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>
scripts/coccinelle/misc/badty.cocci