All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: Alexey Kardashevskiy <aik@ozlabs.ru>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	qemu-trivial@nongnu.org, Stefan Weil <sw@weilnetz.de>,
	Blue Swirl <blauwirbel@gmail.com>,
	qemu-ppc@nongnu.org, Stefan Hajnoczi <stefanha@redhat.com>,
	Paolo Bonzini <pbonzini@redhat.com>,
	David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [Qemu-trivial] [PATCH v2] bswap: fix compiler warning
Date: Mon, 15 Apr 2013 12:52:26 +0200	[thread overview]
Message-ID: <516BDBEA.4010404@suse.de> (raw)
In-Reply-To: <1365990476-14975-1-git-send-email-aik@ozlabs.ru>

Am 15.04.2013 03:47, schrieb Alexey Kardashevskiy:
> The bswap functions use memcpy but the bswap.h header itself does not seem to
> include it in some configuration such as cross compiling for powerpc64
> on x86_64 machine.
> 
> The patch explicitly includes string.h.
> 
> v2:
> * #include statement moved to the right place
> 
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
> ---
>  include/qemu/bswap.h |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h
> index d3af35d..14a5f65 100644
> --- a/include/qemu/bswap.h
> +++ b/include/qemu/bswap.h
> @@ -4,6 +4,7 @@
>  #include "config-host.h"
>  #include <inttypes.h>
>  #include <limits.h>
> +#include <string.h>
>  #include "fpu/softfloat.h"
>  
>  #ifdef CONFIG_MACHINE_BSWAP_H

Thanks,

Reviewed-by: Andreas Färber <afaerber@suse.de>

Normally the change log does not go into the commit message but I'm sure
Stefan can fix that. :)

Andreas

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


  parent reply	other threads:[~2013-04-15 11:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-12  1:41 [Qemu-devel] [PATCH] bswap: fix compiler warning Alexey Kardashevskiy
2013-04-12  9:10 ` Stefan Hajnoczi
2013-04-12 10:51 ` Andreas Färber
2013-04-12 13:03   ` Alexey Kardashevskiy
2013-04-12 16:47   ` David Gibson
2013-04-12 17:36     ` Stefan Weil
2013-04-12 20:23       ` Alexey Kardashevskiy
2013-04-12 20:31         ` [Qemu-trivial] " Stefan Weil
2013-04-12 20:31           ` Stefan Weil
2013-04-15  1:47           ` [Qemu-trivial] [PATCH v2] " Alexey Kardashevskiy
2013-04-15  1:52             ` [Qemu-trivial] [Qemu-ppc] " David Gibson
2013-04-15 10:52             ` Andreas Färber [this message]
2013-04-19  9:28             ` [Qemu-trivial] " 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=516BDBEA.4010404@suse.de \
    --to=afaerber@suse.de \
    --cc=aik@ozlabs.ru \
    --cc=aliguori@us.ibm.com \
    --cc=blauwirbel@gmail.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=pbonzini@redhat.com \
    --cc=qemu-ppc@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=stefanha@redhat.com \
    --cc=sw@weilnetz.de \
    /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.