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 /scripts | |
parent | 79ff2b3deae7db21e73f1e0add92c988135defd2 (diff) | |
download | op-kernel-dev-f75621c6ecadbd1802a7142fd346511cea05250a.zip op-kernel-dev-f75621c6ecadbd1802a7142fd346511cea05250a.tar.gz |
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>
Diffstat (limited to 'scripts')
-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 27c97f1..7415860 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; @@ |