All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: "Andreas Färber" <afaerber@suse.de>
Cc: alexey.korolev@endace.com,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] Fix typo in i400FX chipset init code
Date: Wed, 21 Mar 2012 15:07:19 +0200	[thread overview]
Message-ID: <20120321130717.GB21467@redhat.com> (raw)
In-Reply-To: <4F69CA6C.8070203@suse.de>

On Wed, Mar 21, 2012 at 01:32:44PM +0100, Andreas Färber wrote:
> Hi,
> 
> Am 21.03.2012 06:26, schrieb Alexey Korolev:
> >> Hi,
> >>
> >> There is a typo in i440FX init code. This is causing problems when
> >> somebody wants to access 64bit PCI range.
> >>
> >>
> >> Signed-off-by: Alexey Korolev <alexey.korolev@endace.com>
> >> ---
> >>
> >>  hw/piix_pci.c |    2 +-
> >>  1 files changed, 1 insertions(+), 1 deletions(-)
> >>
> >> diff --git a/hw/piix_pci.c b/hw/piix_pci.c
> >> index 3ed3d90..aab8188 100644
> >> --- a/hw/piix_pci.c
> >> +++ b/hw/piix_pci.c
> >> @@ -353,7 +353,7 @@ PCIBus *i440fx_init(PCII440FXState **pi440fx_state, int *piix3_devfn,
> >>      b = i440fx_common_init("i440FX", pi440fx_state, piix3_devfn, isa_bus, pic,
> >>                             address_space_mem, address_space_io, ram_size,
> >>                             pci_hole_start, pci_hole_size,
> >> -                           pci_hole64_size, pci_hole64_size,
> >> +                           pci_hole64_start, pci_hole64_size,
> >>                             pci_memory, ram_memory);
> >>      return b;
> >>  }
> >>
> >>
> >>
> > Hi there,
> > 
> > Any chance that someone could have a look and commit this?
> 
> A patch should never start with "Hi,", it should have a commit message
> that can be applied unmodified to git, describing what area it touches,
> what it changes and why. So, the the subject should start with, e.g.,
> "i440fx: Fix start of 64-bit hole" and go on to explain where exactly
> that is and what it affects (does this resolve some guest-visible bug?
> when was it introduced? i.e., does it need to be backported?). Repeating
> "typo" again and again is not helpful to understand the impact of a
> commit when bisecting later on without seeing the code.
> 
> You forgot to cc the PCI maintainer.
> 
> Andreas

Yes I'd like to see an explanation on how to trigger a bug too.
OTOH the fix is clearly right, and it's not submitter's
work to dig through history to find where was the bug
added, that is too much to ask IMO.

> -- 
> SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
> GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

  reply	other threads:[~2012-03-21 13:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-29  1:35 [Qemu-devel] [PATCH] Fix typo in i400FX chipset init code Alexey Korolev
2012-03-21  5:26 ` Alexey Korolev
2012-03-21 12:28   ` [Qemu-trivial] " Markus Armbruster
2012-03-21 12:28     ` Markus Armbruster
2012-03-21 12:35     ` [Qemu-trivial] " Andreas Färber
2012-03-21 12:35       ` Andreas Färber
2012-03-21 12:32   ` Andreas Färber
2012-03-21 13:07     ` Michael S. Tsirkin [this message]
2012-03-21 12:59 ` Michael S. Tsirkin
2012-03-21 23:08   ` Alexey Korolev

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=20120321130717.GB21467@redhat.com \
    --to=mst@redhat.com \
    --cc=afaerber@suse.de \
    --cc=alexey.korolev@endace.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 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.