Re: [Qemu-devel] [PATCH] bswap: fix compiler warning

2013-04-12 Thread Stefan Weil
Am 12.04.2013 22:23, schrieb Alexey Kardashevskiy: > On 04/13/2013 03:36 AM, Stefan Weil wrote: >> Am 12.04.2013 18:47, schrieb David Gibson: >>> On Fri, Apr 12, 2013 at 12:51:51PM +0200, Andreas Färber wrote: Am 12.04.2013 03:41, schrieb Alexey Kardashevskiy: > The bswap functions use mem

Re: [Qemu-devel] [PATCH] bswap: fix compiler warning

2013-04-12 Thread Alexey Kardashevskiy
On 04/13/2013 03:36 AM, Stefan Weil wrote: Am 12.04.2013 18:47, schrieb David Gibson: On Fri, Apr 12, 2013 at 12:51:51PM +0200, Andreas Färber wrote: Am 12.04.2013 03:41, schrieb Alexey Kardashevskiy: The bswap functions use memcpy but the bswap.h header itself does not seem to include it in s

Re: [Qemu-devel] [PATCH] bswap: fix compiler warning

2013-04-12 Thread Stefan Weil
Am 12.04.2013 18:47, schrieb David Gibson: > On Fri, Apr 12, 2013 at 12:51:51PM +0200, Andreas Färber wrote: >> Am 12.04.2013 03:41, 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 cros

Re: [Qemu-devel] [PATCH] bswap: fix compiler warning

2013-04-12 Thread David Gibson
On Fri, Apr 12, 2013 at 12:51:51PM +0200, Andreas Färber wrote: > Am 12.04.2013 03:41, 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 machin

Re: [Qemu-devel] [PATCH] bswap: fix compiler warning

2013-04-12 Thread Alexey Kardashevskiy
On 04/12/2013 08:51 PM, Andreas Färber wrote: Am 12.04.2013 03:41, 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 (gcc 4.6.3 from ftp.kernel.org,

Re: [Qemu-devel] [PATCH] bswap: fix compiler warning

2013-04-12 Thread Andreas Färber
Am 12.04.2013 03:41, 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 (gcc 4.6.3 from ftp.kernel.org, headers/libs from > FC18/ppc64), > the exa

Re: [Qemu-devel] [PATCH] bswap: fix compiler warning

2013-04-12 Thread Stefan Hajnoczi
On Fri, Apr 12, 2013 at 11:41:15AM +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 (gcc 4.6.3 from ftp.kernel.org, headers/libs from > FC1

[Qemu-devel] [PATCH] bswap: fix compiler warning

2013-04-11 Thread 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 (gcc 4.6.3 from ftp.kernel.org, headers/libs from FC18/ppc64), the example warning is below. The patch explicitly includes string.h