qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Nutan Shinde <nutanshinde1992@gmail.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH v2] Remove macros IO_READ_PROTO and IO_WRITE_PROTO
Date: Wed, 7 Oct 2015 09:18:03 +0100	[thread overview]
Message-ID: <CAJSP0QVuC-DnknD2=T=MWoJoNMjvYXJQPWnr1oRwbr_s8bnSrA@mail.gmail.com> (raw)
In-Reply-To: <1444153331-5500-1-git-send-email-nutanshinde1992@gmail.com>

On Tue, Oct 6, 2015 at 6:42 PM, Nutan Shinde <nutanshinde1992@gmail.com> wrote:
> Signed-off-by: Nutan Shinde <nutanshinde1992@gmail.com>
> ---
>  hw/audio/adlib.c  | 28 +++++++++++------------
>  hw/audio/es1370.c | 60 +++++++++++++++++++++++++-------------------------
>  hw/audio/gus.c    | 26 +++++++++++-----------
>  hw/audio/sb16.c   | 66 +++++++++++++++++++++++++++----------------------------
>  4 files changed, 90 insertions(+), 90 deletions(-)

This patch appears to contain only formatting changes.  From
http://qemu-project.org/Contribute/SubmitAPatch:

"Don't include irrelevant changes. In particular, don't include
formatting, coding style or whitespace changes to bits of code that
would otherwise not be touched by the patch. (It's OK to fix coding
style issues in the immediate area (few lines) of the lines you're
changing.) If you think a section of code really does need a reindent
or other large-scale style fix, submit this as a separate patch which
makes no semantic changes; don't put it in the same patch as your bug
fix."

Patches that update coding style (e.g. whitespace) are usually not
desirable because it introduces churn.  For example, backporting
important fixes becomes harder because the code has changed.

Updating coding style on lines touched in a normal patch is good.
Updating entire files just to update coding style is usually not done
in QEMU.

Stefan

  parent reply	other threads:[~2015-10-07  8:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-06 17:42 [Qemu-devel] [PATCH v2] Remove macros IO_READ_PROTO and IO_WRITE_PROTO Nutan Shinde
2015-10-07  7:10 ` Markus Armbruster
2015-10-07  8:17   ` Nutan Shinde
2015-10-07  9:47     ` Paolo Bonzini
2015-10-07  8:18 ` Stefan Hajnoczi [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-10-07 16:32 Nutan Shinde
2015-10-07 19:34 ` Markus Armbruster
2015-10-09  9:15   ` Gerd Hoffmann
2015-10-07 23:14 ` Peter Maydell
2015-10-08  9:52 ` Stefan Hajnoczi

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='CAJSP0QVuC-DnknD2=T=MWoJoNMjvYXJQPWnr1oRwbr_s8bnSrA@mail.gmail.com' \
    --to=stefanha@gmail.com \
    --cc=nutanshinde1992@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /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).