Re: [Qemu-devel] [PATCH] ide-test: Fix endianness problems

2013-05-16 Thread Anthony Liguori
Applied. Thanks. Regards, Anthony Liguori

Re: [Qemu-devel] [PATCH] ide-test: Fix endianness problems

2013-05-16 Thread Kevin Wolf
Am 16.05.2013 um 11:04 hat Stefan Hajnoczi geschrieben: > Anthony: Please take this patch without a pull request. I think me > sending pull requests for a single late-rc fix doesn't add value. > > Reviewed-by: Stefan Hajnoczi It's already merged. Kevin

Re: [Qemu-devel] [PATCH] ide-test: Fix endianness problems

2013-05-16 Thread Stefan Hajnoczi
On Wed, May 15, 2013 at 03:00:39PM +0200, Kevin Wolf wrote: > @@ -355,6 +364,17 @@ static void test_bmdma_teardown(void) > ide_test_quit(); > } > > +static void string_cpu_to_be16(uint16_t *s, size_t bytes) > +{ > +g_assert((bytes & 1) == 0); > +bytes /= 2; > + > +while (bytes--