[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [Qemu-ppc] [PATCH v2] bswap: fix compiler warning
From: |
David Gibson |
Subject: |
Re: [Qemu-trivial] [Qemu-ppc] [PATCH v2] bswap: fix compiler warning |
Date: |
Mon, 15 Apr 2013 11:52:32 +1000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Mon, Apr 15, 2013 at 11:47:56AM +1000, Alexey Kardashevskiy wrote:
> 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 <address@hidden>
> Reviewed-by: Stefan Hajnoczi <address@hidden>
Reviewed-by: David Gibson <address@hidden>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: Digital signature