Re: [PATCH] hw: Use QEMU_IS_ALIGNED() on parallel flash block size

2020-05-18 Thread Kevin Wolf
Am 11.05.2020 um 22:52 hat Philippe Mathieu-Daudé geschrieben: > Use the QEMU_IS_ALIGNED() macro to verify the flash block size > is properly aligned. It is quicker to process when reviewing. > > Signed-off-by: Philippe Mathieu-Daudé Thanks, applied to the block branch. Kevin

Re: [PATCH] hw: Use QEMU_IS_ALIGNED() on parallel flash block size

2020-05-18 Thread Paolo Bonzini
On 11/05/20 22:52, Philippe Mathieu-Daudé wrote: > Use the QEMU_IS_ALIGNED() macro to verify the flash block size > is properly aligned. It is quicker to process when reviewing. > > Signed-off-by: Philippe Mathieu-Daudé > --- > hw/arm/sbsa-ref.c | 2 +- > hw/arm/virt.c | 2 +- >

Re: [PATCH] hw: Use QEMU_IS_ALIGNED() on parallel flash block size

2020-05-18 Thread Peter Maydell
On Mon, 11 May 2020 at 21:52, Philippe Mathieu-Daudé wrote: > > Use the QEMU_IS_ALIGNED() macro to verify the flash block size > is properly aligned. It is quicker to process when reviewing. > > Signed-off-by: Philippe Mathieu-Daudé > --- > hw/arm/sbsa-ref.c | 2 +- > hw/arm/virt.c

Re: [PATCH] hw: Use QEMU_IS_ALIGNED() on parallel flash block size

2020-05-12 Thread Alistair Francis
On Mon, May 11, 2020 at 1:54 PM Philippe Mathieu-Daudé wrote: > > Use the QEMU_IS_ALIGNED() macro to verify the flash block size > is properly aligned. It is quicker to process when reviewing. > > Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Alistair Francis Alistair > --- > hw/arm/sbs

[PATCH] hw: Use QEMU_IS_ALIGNED() on parallel flash block size

2020-05-11 Thread Philippe Mathieu-Daudé
Use the QEMU_IS_ALIGNED() macro to verify the flash block size is properly aligned. It is quicker to process when reviewing. Signed-off-by: Philippe Mathieu-Daudé --- hw/arm/sbsa-ref.c | 2 +- hw/arm/virt.c | 2 +- hw/block/pflash_cfi01.c | 2 +- hw/block/pflash_cfi02.c | 2 +- h