qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Hollis Blanchard <hollisb@us.ibm.com>
To: salvatorelionetti@yahoo.it
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH 1/3] PPC4xx IIC and MAL
Date: Wed, 10 Dec 2008 12:53:48 -0600	[thread overview]
Message-ID: <1228935228.9880.14.camel@localhost.localdomain> (raw)
In-Reply-To: <505560.69650.qm@web27208.mail.ukl.yahoo.com>

On Wed, 2008-12-10 at 14:13 +0000, Salvatore Lionetti wrote:
> Ok
> 
> 1) The line code modified is 80% IIC, only few row about MAL
> 2) MAL until today (if ever this patch enter in qemu) is only used to
> rw registers, so no malfunction is present.
> 3) As you can see many ppc* file are to modify since I2C previous
> support it totally not integrated: have sense modify ppc* and never
> use an IIC device?
> 4) Is error prone and very tedious to extract some code, expecially if
> there is no modularity advantage: one piece require the other,
> 5) I already have successfully tested the expected patch.
> 6) I can't do that directly so every time have 2 see if main line is
> updated or not, merge svn file with current my patch status
> 7) Who apply the patch only apply one click?
> 
> In this moment i have no time to make all this retail and test.

I would be very surprised if somebody applies your patch as-is, because
it's messy (there are a lot of unnecessary/unrelated changes) and it's
very difficult to see the functional changes.

Yes, there is a natural dependency of a patch on the previous ones. This
is called a "patch queue" or "patch series", and you can see other
people submitting them on qemu-devel. (In fact the most recent series
contains 13 patches, with #13 depending on #1-12 being committed
already.)

There are tools (such as quilt, guilt, and MQ) that help you manage
patch series. You can use these tools to maintain your patches and
update them to match the latest qemu tree.

If you submit small independent patches, people will be able to easily
see that they're good and commit them instantly. When you submit a large
patch with lots of changes, it takes a lot more time and effort to
review, and it's much less likely to be accepted.

-- 
Hollis Blanchard
IBM Linux Technology Center

  reply	other threads:[~2008-12-10 18:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-09  1:46 [Qemu-devel] [PATCH 1/3] PPC4xx IIC and MAL Salvatore Lionetti
2008-12-09 16:57 ` Hollis Blanchard
2008-12-10 14:13   ` Salvatore Lionetti
2008-12-10 18:53     ` Hollis Blanchard [this message]
2008-12-10 22:09       ` Salvatore Lionetti

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=1228935228.9880.14.camel@localhost.localdomain \
    --to=hollisb@us.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=salvatorelionetti@yahoo.it \
    /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).