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

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

authored by

Julia Lawall and committed by
Michal Marek
f75621c6 79ff2b3d

+1 -1
+1 -1
scripts/coccinelle/misc/bugon.cocci
··· 40 40 // For org and report mode 41 41 //---------------------------------------------------------- 42 42 43 - @r@ 43 + @r depends on (org || report)@ 44 44 expression e; 45 45 position p; 46 46 @@