* [PATCH] coccinelle: bugon: reduce rule applicability
@ 2016-02-03 18:05 Julia Lawall
2016-02-18 21:10 ` Michal Marek
0 siblings, 1 reply; 2+ messages in thread
From: Julia Lawall @ 2016-02-03 18:05 UTC (permalink / raw)
To: cocci
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>
---
scripts/coccinelle/misc/bugon.cocci | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
@@
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] coccinelle: bugon: reduce rule applicability
2016-02-03 18:05 [PATCH] coccinelle: bugon: reduce rule applicability Julia Lawall
@ 2016-02-18 21:10 ` Michal Marek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Marek @ 2016-02-18 21:10 UTC (permalink / raw)
To: cocci
Dne 3.2.2016 v 19:05 Julia Lawall napsal(a):
> Rule r is only use in org or report mode, so only execute it in those
> cases.
I applied this and the previous three patches to kbuild.git#misc.
Thanks,
Michal
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-18 21:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-03 18:05 [PATCH] coccinelle: bugon: reduce rule applicability Julia Lawall
2016-02-18 21:10 ` Michal Marek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).