From: mmarek@suse.cz (Michal Marek)
To: cocci@systeme.lip6.fr
Subject: [Cocci] [PATCH v3] coccinelle: replace 0/1 with false/true in functions returning bool
Date: Tue, 13 Aug 2013 22:45:02 +0200 [thread overview]
Message-ID: <520A9ACE.7080809@suse.cz> (raw)
In-Reply-To: <1376255112-22787-1-git-send-email-linux@rasmusvillemoes.dk>
Dne 11.8.2013 23:05, Rasmus Villemoes napsal(a):
> This semantic patch replaces "return {0,1};" with "return
> {false,true};" in functions returning bool.
>
> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
> ---
> v2: Simplified script, and eliminate whitespace mangling at the same
> time. Thanks to Julia Lawall.
>
> v3: Further improvements from Julia. In particular, it now also does
> header files.
Applied to kbuild.git#misc.
Michal
WARNING: multiple messages have this Message-ID (diff)
From: Michal Marek <mmarek@suse.cz>
To: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Cc: Julia Lawall <Julia.Lawall@lip6.fr>,
linux-kernel@vger.kernel.org, cocci@systeme.lip6.fr
Subject: Re: [PATCH v3] coccinelle: replace 0/1 with false/true in functions returning bool
Date: Tue, 13 Aug 2013 22:45:02 +0200 [thread overview]
Message-ID: <520A9ACE.7080809@suse.cz> (raw)
In-Reply-To: <1376255112-22787-1-git-send-email-linux@rasmusvillemoes.dk>
Dne 11.8.2013 23:05, Rasmus Villemoes napsal(a):
> This semantic patch replaces "return {0,1};" with "return
> {false,true};" in functions returning bool.
>
> Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
> ---
> v2: Simplified script, and eliminate whitespace mangling at the same
> time. Thanks to Julia Lawall.
>
> v3: Further improvements from Julia. In particular, it now also does
> header files.
Applied to kbuild.git#misc.
Michal
next prev parent reply other threads:[~2013-08-13 20:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-09 16:15 [Cocci] [PATCH/RFC] coccinelle: replace 0/1 with false/true in functions returning bool Rasmus Villemoes
2013-08-09 16:15 ` Rasmus Villemoes
2013-08-09 16:18 ` [Cocci] " Julia Lawall
2013-08-09 16:18 ` Julia Lawall
2013-08-09 17:59 ` [Cocci] [PATCH v2] " Rasmus Villemoes
2013-08-09 17:59 ` Rasmus Villemoes
2013-08-11 21:05 ` [Cocci] [PATCH v3] " Rasmus Villemoes
2013-08-11 21:05 ` Rasmus Villemoes
2013-08-11 21:16 ` [Cocci] " Julia Lawall
2013-08-11 21:16 ` Julia Lawall
2013-08-13 20:45 ` Michal Marek [this message]
2013-08-13 20:45 ` Michal Marek
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=520A9ACE.7080809@suse.cz \
--to=mmarek@suse.cz \
--cc=cocci@systeme.lip6.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 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.