Re: [PATCH 5/8] hw/ide/pci.c: Coding style update to fix checkpatch errors

2020-03-14 Thread Philippe Mathieu-Daudé
On 3/13/20 10:14 PM, BALATON Zoltan wrote: Spaces are required around a + operator and if statements should have braces even for single line. Also make it simpler by reversing the condition instead of breaking the loop. Signed-off-by: BALATON Zoltan Reviewed-by: Philippe Mathieu-Daudé ---

[PATCH 5/8] hw/ide/pci.c: Coding style update to fix checkpatch errors

2020-03-13 Thread BALATON Zoltan
Spaces are required around a + operator and if statements should have braces even for single line. Also make it simpler by reversing the condition instead of breaking the loop. Signed-off-by: BALATON Zoltan --- hw/ide/pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git