diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2016-02-03 19:05:46 +0100 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2016-02-18 22:09:40 +0100 |
commit | f75621c6ecadbd1802a7142fd346511cea05250a (patch) | |
tree | 85d732acfe3340b2292089f476f702155cd61c38 | |
parent | Coccinelle: pm_runtime: reduce rule applicability (diff) | |
download | linux-f75621c6ecadbd1802a7142fd346511cea05250a.tar.xz linux-f75621c6ecadbd1802a7142fd346511cea05250a.zip |
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>
-rw-r--r-- | scripts/coccinelle/misc/bugon.cocci | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/coccinelle/misc/bugon.cocci b/scripts/coccinelle/misc/bugon.cocci index 27c97f1f2767..741586094abe 100644 --- a/scripts/coccinelle/misc/bugon.cocci +++ b/scripts/coccinelle/misc/bugon.cocci @@ -40,7 +40,7 @@ expression e; // For org and report mode //---------------------------------------------------------- -@r@ +@r depends on (org || report)@ expression e; position p; @@ |