mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@lip6.fr>
To: Javier Martinez Canillas <javier@osg.samsung.com>
Cc: linux-kernel@vger.kernel.org,
	Fabio Estevam <fabio.estevam@freescale.com>,
	Nicolas Palix <nicolas.palix@imag.fr>,
	Michal Marek <mmarek@suse.com>,
	Gilles Muller <Gilles.Muller@lip6.fr>,
	Julia Lawall <Julia.Lawall@lip6.fr>,
	cocci@systeme.lip6.fr
Subject: Re: [PATCH] coccinelle: simple_return: fix typos in messages
Date: Sat, 3 Oct 2015 18:26:20 +0200 (CEST)	[thread overview]
Message-ID: <alpine.DEB.2.10.1510031825500.2586@hadrien> (raw)
In-Reply-To: <1443790785-17663-1-git-send-email-javier@osg.samsung.com>

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
>
>

      reply	other threads:[~2015-10-03 16:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-02 12:59 Javier Martinez Canillas
2015-10-03 16:26 ` Julia Lawall [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.10.1510031825500.2586@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=Gilles.Muller@lip6.fr \
    --cc=cocci@systeme.lip6.fr \
    --cc=fabio.estevam@freescale.com \
    --cc=javier@osg.samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmarek@suse.com \
    --cc=nicolas.palix@imag.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®