Re: [Xen-devel] [PATCH v3 12/20] hw/ide: Let the DMAIntFunc prototype use a boolean 'is_write' argument

2020-03-04 Thread John Snow
On 2/20/20 8:05 AM, Philippe Mathieu-Daudé wrote: > The 'is_write' argument is either 0 or 1. > Convert it to a boolean type. > > Signed-off-by: Philippe Mathieu-Daudé > --- > include/hw/ide/internal.h | 2 +- > hw/dma/rc4030.c | 6 +++--- > hw/ide/ahci.c | 2 +- >

[Xen-devel] [PATCH v3 12/20] hw/ide: Let the DMAIntFunc prototype use a boolean 'is_write' argument

2020-02-20 Thread Philippe Mathieu-Daudé
The 'is_write' argument is either 0 or 1. Convert it to a boolean type. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/ide/internal.h | 2 +- hw/dma/rc4030.c | 6 +++--- hw/ide/ahci.c | 2 +- hw/ide/core.c | 2 +- hw/ide/macio.c| 2 +-