Re: [Qemu-devel] [PATCH] hw/ide/atapi: Use the ldst API

2019-08-08 Thread John Snow
On 8/8/19 9:04 AM, Philippe Mathieu-Daudé wrote: > The big-endian load/store functions are already provided > by "qemu/bswap.h". > Avoid code duplication, use the generic API. > > Signed-off-by: Philippe Mathieu-Daudé > --- > hw/ide/atapi.c | 80 ++-

[Qemu-devel] [PATCH] hw/ide/atapi: Use the ldst API

2019-08-08 Thread Philippe Mathieu-Daudé
The big-endian load/store functions are already provided by "qemu/bswap.h". Avoid code duplication, use the generic API. Signed-off-by: Philippe Mathieu-Daudé --- hw/ide/atapi.c | 80 ++ 1 file changed, 28 insertions(+), 52 deletions(-) diff --git