summary refs log tree commit diff stats
path: root/include/hw/ide/internal.h
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2020-03-17 16:05:37 +0100
committerJohn Snow <jsnow@redhat.com>2020-03-17 12:22:36 -0400
commit417adc2d50937b95e5e89d8939f13d7e85d5ad9d (patch)
tree5b957c223d78595e8de6adff205864b37324ec82 /include/hw/ide/internal.h
parent5a6ac100f64bea4b1580e3e4de123cac8abc203c (diff)
downloadfocaccia-qemu-417adc2d50937b95e5e89d8939f13d7e85d5ad9d.tar.gz
focaccia-qemu-417adc2d50937b95e5e89d8939f13d7e85d5ad9d.zip
hw/ide/pci.c: Coding style update to fix checkpatch errors
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 <balaton@eik.bme.hu>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: 0d50336ab26a56240c8c17ca1ec6135a4092fcc9.1584457537.git.balaton@eik.bme.hu
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include/hw/ide/internal.h')
0 files changed, 0 insertions, 0 deletions