qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Stefan Berger <stefanb@linux.vnet.ibm.com>
Cc: qemu-trivial@nongnu.org, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [Qemu-trivial] [PATCH] hmp: Fix freeing of PciInfoList
Date: Thu, 12 Jan 2012 13:35:10 +0000	[thread overview]
Message-ID: <20120112133510.GA23222@stefanha-thinkpad.localdomain> (raw)
In-Reply-To: <4F0DB018.5080302@linux.vnet.ibm.com>

On Wed, Jan 11, 2012 at 10:51:52AM -0500, Stefan Berger wrote:
> Remember the original PciInfoList in info_list and use
> the info variable to traverse the list.
> 
> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
> 
> ---
>  hmp.c |    8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Thanks, applied to the trivial patches tree but see below:
https://github.com/stefanha/qemu/commits/trivial-patches

Your patch seems to use two columns instead of just one column for
'-'/'+'/' '.  This confused both git-am(1) and patch(1).  Perhaps you
can figure out why your patch was generated like this?  It reminds me of
diff3 where there are two columns because it compares file A and B
against a common ancestor file.

> Index: qemu-git.pt/hmp.c
> ===================================================================
> --- qemu-git.pt.orig/hmp.c
> +++ qemu-git.pt/hmp.c
> @@ -486,17 +486,17 @@ static void hmp_info_pci_device(Monitor
> 
>  void hmp_info_pci(Monitor *mon)
>  {
> -    PciInfoList *info;
> +    PciInfoList *info_list, info;

Missing '*' to make info a pointer too.  Fails to build, I fixed this
when merging so don't worry about it.

Stefan

      reply	other threads:[~2012-01-12 13:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11 15:51 [Qemu-devel] [PATCH] hmp: Fix freeing of PciInfoList Stefan Berger
2012-01-12 13:35 ` Stefan Hajnoczi [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=20120112133510.GA23222@stefanha-thinkpad.localdomain \
    --to=stefanha@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=stefanb@linux.vnet.ibm.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).