From: Laurent Vivier <laurent@vivier.eu>
To: Stefan Hajnoczi <stefanha@gmail.com>,
Simran Singhal <singhalsimran0@gmail.com>
Cc: "Kevin Wolf" <kwolf@redhat.com>, "Fam Zheng" <fam@euphon.net>,
"Daniel P. Berrangé" <berrange@redhat.com>,
qemu-block@nongnu.org, "Juan Quintela" <quintela@redhat.com>,
"Jeff Cody" <codyprime@gmail.com>, "Peter Lieven" <pl@kamp.de>,
qemu-devel@nongnu.org, "Max Reitz" <mreitz@redhat.com>,
qemu-trivial@nongnu.org, "Gerd Hoffmann" <kraxel@redhat.com>,
"Julia Suvorova" <jusual@mail.ru>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>
Subject: Re: [PATCH v2] Compress lines for immediate return
Date: Mon, 4 May 2020 11:51:29 +0200 [thread overview]
Message-ID: <85e649e5-5ce1-866e-801c-4385eb9c25d7@vivier.eu> (raw)
In-Reply-To: <20200403125301.GD146016@stefanha-x1.localdomain>
[-- Attachment #1.1: Type: text/plain, Size: 1363 bytes --]
Le 03/04/2020 à 14:53, Stefan Hajnoczi a écrit :
> On Wed, Apr 01, 2020 at 10:23:14PM +0530, Simran Singhal wrote:
>> Compress two lines into a single line if immediate return statement is found.
>>
>> It also remove variables progress, val, data, ret and sock
>> as they are no longer needed.
>>
>> Remove space between function "mixer_load" and '(' to fix the
>> checkpatch.pl error:-
>> ERROR: space prohibited between function name and open parenthesis '('
>>
>> Done using following coccinelle script:
>> @@
>> local idexpression ret;
>> expression e;
>> @@
>>
>> -ret =
>> +return
>> e;
>> -return ret;
>>
>> Signed-off-by: Simran Singhal <singhalsimran0@gmail.com>
>> ---
>> Changes in v2:
>> -Added coccinelle script wrote for changes in commit message.
>>
>> block/file-posix.c | 3 +--
>> block/nfs.c | 3 +--
>> block/nvme.c | 4 +---
>> block/vhdx.c | 3 +--
>> hw/audio/ac97.c | 4 +---
>> hw/audio/adlib.c | 5 +----
>> hw/display/cirrus_vga.c | 4 +---
>> migration/ram.c | 4 +---
>> ui/gtk.c | 3 +--
>> util/qemu-sockets.c | 5 +----
>> 10 files changed, 10 insertions(+), 28 deletions(-)
>
> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
>
Applied to my trivial-patches branch.
Thanks,
Laurent
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2020-05-04 9:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-01 16:53 [PATCH v2] Compress lines for immediate return Simran Singhal
2020-04-03 12:53 ` Stefan Hajnoczi
2020-05-04 9:51 ` Laurent Vivier [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=85e649e5-5ce1-866e-801c-4385eb9c25d7@vivier.eu \
--to=laurent@vivier.eu \
--cc=berrange@redhat.com \
--cc=codyprime@gmail.com \
--cc=dgilbert@redhat.com \
--cc=fam@euphon.net \
--cc=jusual@mail.ru \
--cc=kraxel@redhat.com \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=pl@kamp.de \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-trivial@nongnu.org \
--cc=quintela@redhat.com \
--cc=singhalsimran0@gmail.com \
--cc=stefanha@gmail.com \
/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;
as well as URLs for NNTP newsgroup(s).