* [Cocci] [PATCH] coccinelle: bugon: reduce rule applicability
@ 2016-02-03 18:05 ` Julia Lawall
0 siblings, 0 replies; 6+ 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
//----------------------------------------------------------
- at r@
+ at r depends on (org || report)@
expression e;
position p;
@@
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] coccinelle: bugon: reduce rule applicability
@ 2016-02-03 18:05 ` Julia Lawall
0 siblings, 0 replies; 6+ 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] 6+ messages in thread
* [PATCH] coccinelle: bugon: reduce rule applicability
@ 2016-02-03 18:05 ` Julia Lawall
0 siblings, 0 replies; 6+ messages in thread
From: Julia Lawall @ 2016-02-03 18:05 UTC (permalink / raw)
To: Julia Lawall
Cc: kernel-janitors, Gilles Muller, Nicolas Palix, Michal Marek,
cocci, linux-kernel
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] 6+ messages in thread
* [Cocci] [PATCH] coccinelle: bugon: reduce rule applicability
2016-02-03 18:05 ` Julia Lawall
(?)
@ 2016-02-18 21:10 ` Michal Marek
-1 siblings, 0 replies; 6+ 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] 6+ messages in thread
* Re: [PATCH] coccinelle: bugon: reduce rule applicability
@ 2016-02-18 21:10 ` Michal Marek
0 siblings, 0 replies; 6+ 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] 6+ messages in thread
* Re: [PATCH] coccinelle: bugon: reduce rule applicability
@ 2016-02-18 21:10 ` Michal Marek
0 siblings, 0 replies; 6+ messages in thread
From: Michal Marek @ 2016-02-18 21:10 UTC (permalink / raw)
To: Julia Lawall
Cc: kernel-janitors, Gilles Muller, Nicolas Palix, cocci,
linux-kernel
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] 6+ messages in thread
end of thread, other threads:[~2016-02-18 21:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-03 18:05 [Cocci] [PATCH] coccinelle: bugon: reduce rule applicability Julia Lawall
2016-02-03 18:05 ` Julia Lawall
2016-02-03 18:05 ` Julia Lawall
2016-02-18 21:10 ` [Cocci] " Michal Marek
2016-02-18 21:10 ` Michal Marek
2016-02-18 21:10 ` Michal Marek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.