projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79ff2b3
)
coccinelle: bugon: reduce rule applicability
author
Julia Lawall
<Julia.Lawall@lip6.fr>
Wed, 3 Feb 2016 18:05:46 +0000
(19:05 +0100)
committer
Michal Marek
<mmarek@suse.com>
Thu, 18 Feb 2016 21:09:40 +0000
(22:09 +0100)
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/bugon.cocci
patch
|
blob
|
history
diff --git
a/scripts/coccinelle/misc/bugon.cocci
b/scripts/coccinelle/misc/bugon.cocci
index 27c97f1f2767f6145349752e0500b1c87ad6052e..741586094abe08be1ebea5c81ad57e4c5ff066fa 100644
(file)
--- 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;
@@