From: Jan Kiszka <[email protected]> No functional change, just the for-statement more compact.
Signed-off-by: Jan Kiszka <[email protected]> --- hypervisor/arch/x86/vcpu.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/hypervisor/arch/x86/vcpu.c b/hypervisor/arch/x86/vcpu.c index 676dc481..7a6543bf 100644 --- a/hypervisor/arch/x86/vcpu.c +++ b/hypervisor/arch/x86/vcpu.c @@ -26,10 +26,9 @@ #include <jailhouse/percpu.h> #include <asm/vcpu.h> -#define for_each_pio_region(pio, config, counter) \ - for ((pio) = jailhouse_cell_pio(config), \ - (counter) = 0; \ - (counter) < (config)->num_pio_regions; \ +#define for_each_pio_region(pio, config, counter) \ + for ((pio) = jailhouse_cell_pio(config), (counter) = 0; \ + (counter) < (config)->num_pio_regions; \ (pio)++, (counter)++) static u8 __attribute__((aligned(PAGE_SIZE))) parking_code[PAGE_SIZE] = { -- 2.16.4 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/e50ce647-c62b-73c9-b632-415d4d32aa22%40web.de.
