Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1325804
| From | Julia Lawall <Julia.Lawall@lip6.fr> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] coccinelle: bugon: reduce rule applicability |
| Date | 2016-02-03 19:30 +0100 |
| Message-ID | <qYalH-5xv-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
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; @@
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] coccinelle: bugon: reduce rule applicability Julia Lawall <Julia.Lawall@lip6.fr> - 2016-02-03 19:30 +0100
csiph-web