Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1238181 > unrolled thread
| Started by | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| First post | 2015-10-02 15:10 +0200 |
| Last post | 2015-10-03 18:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] coccinelle: simple_return: fix typos in messages Javier Martinez Canillas <javier@osg.samsung.com> - 2015-10-02 15:10 +0200
Re: [PATCH] coccinelle: simple_return: fix typos in messages Julia Lawall <julia.lawall@lip6.fr> - 2015-10-03 18:30 +0200
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Date | 2015-10-02 15:10 +0200 |
| Subject | [PATCH] coccinelle: simple_return: fix typos in messages |
| Message-ID | <qf8g2-4ez-17@gated-at.bofh.it> |
All messages have a typo that misspells the word simplified. Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> --- scripts/coccinelle/misc/simple_return.cocci | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/coccinelle/misc/simple_return.cocci b/scripts/coccinelle/misc/simple_return.cocci index e8b6313b116f..ad22c5236ff6 100644 --- a/scripts/coccinelle/misc/simple_return.cocci +++ b/scripts/coccinelle/misc/simple_return.cocci @@ -134,7 +134,7 @@ p1 << s1.p1; q << s2.q; @@ -msg = "WARNING: end returns can be simpified and declaration on line %s can be dropped" % (q[0].line) +msg = "WARNING: end returns can be simplified and declaration on line %s can be dropped" % (q[0].line) coccilib.report.print_report(p[0],msg) cocci.include_match(False) @@ -145,7 +145,7 @@ q << s2.q ; @@ -msg = "WARNING: end returns may be simpified if negative or 0 value and declaration on line %s can be dropped" % (q[0].line) +msg = "WARNING: end returns may be simplified if negative or 0 value and declaration on line %s can be dropped" % (q[0].line) coccilib.report.print_report(p[0],msg) cocci.include_match(False) @@ -154,7 +154,7 @@ p << s1.p; p1 << s1.p1; @@ -msg = "WARNING: end returns can be simpified" +msg = "WARNING: end returns can be simplified" coccilib.report.print_report(p[0],msg) @script:python depends on report@ @@ -162,19 +162,19 @@ p << s1.p; p2 << s1.p2; @@ -msg = "WARNING: end returns can be simpified if negative or 0 value" +msg = "WARNING: end returns can be simplified if negative or 0 value" coccilib.report.print_report(p[0],msg) @script:python depends on report@ p << s3.p1; @@ -msg = "WARNING: end returns can be simpified" +msg = "WARNING: end returns can be simplified" coccilib.report.print_report(p[0],msg) @script:python depends on report@ p << s3.p2; @@ -msg = "WARNING: end returns can be simpified if tested value is negative or 0" +msg = "WARNING: end returns can be simplified if tested value is negative or 0" coccilib.report.print_report(p[0],msg) -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Julia Lawall <julia.lawall@lip6.fr> |
|---|---|
| Date | 2015-10-03 18:30 +0200 |
| Message-ID | <qfxR8-75Z-11@gated-at.bofh.it> |
| In reply to | #1238181 |
On Fri, 2 Oct 2015, Javier Martinez Canillas wrote: > All messages have a typo that misspells the word simplified. Thanks for your contribution, but in another thread it has been proposed to drop the semantic patch completely. julia > > Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> > > --- > > scripts/coccinelle/misc/simple_return.cocci | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/scripts/coccinelle/misc/simple_return.cocci b/scripts/coccinelle/misc/simple_return.cocci > index e8b6313b116f..ad22c5236ff6 100644 > --- a/scripts/coccinelle/misc/simple_return.cocci > +++ b/scripts/coccinelle/misc/simple_return.cocci > @@ -134,7 +134,7 @@ p1 << s1.p1; > q << s2.q; > @@ > > -msg = "WARNING: end returns can be simpified and declaration on line %s can be dropped" % (q[0].line) > +msg = "WARNING: end returns can be simplified and declaration on line %s can be dropped" % (q[0].line) > coccilib.report.print_report(p[0],msg) > cocci.include_match(False) > > @@ -145,7 +145,7 @@ q << s2.q > ; > @@ > > -msg = "WARNING: end returns may be simpified if negative or 0 value and declaration on line %s can be dropped" % (q[0].line) > +msg = "WARNING: end returns may be simplified if negative or 0 value and declaration on line %s can be dropped" % (q[0].line) > coccilib.report.print_report(p[0],msg) > cocci.include_match(False) > > @@ -154,7 +154,7 @@ p << s1.p; > p1 << s1.p1; > @@ > > -msg = "WARNING: end returns can be simpified" > +msg = "WARNING: end returns can be simplified" > coccilib.report.print_report(p[0],msg) > > @script:python depends on report@ > @@ -162,19 +162,19 @@ p << s1.p; > p2 << s1.p2; > @@ > > -msg = "WARNING: end returns can be simpified if negative or 0 value" > +msg = "WARNING: end returns can be simplified if negative or 0 value" > coccilib.report.print_report(p[0],msg) > > @script:python depends on report@ > p << s3.p1; > @@ > > -msg = "WARNING: end returns can be simpified" > +msg = "WARNING: end returns can be simplified" > coccilib.report.print_report(p[0],msg) > > @script:python depends on report@ > p << s3.p2; > @@ > > -msg = "WARNING: end returns can be simpified if tested value is negative or 0" > +msg = "WARNING: end returns can be simplified if tested value is negative or 0" > coccilib.report.print_report(p[0],msg) > -- > 2.4.3 > > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web