From: Jan Beulich Date: Thu, 7 Dec 2017 10:08:41 +0000 (+0100) Subject: pdx: correct indentation X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~956 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0def739d77c14b570cf30b6156afea0f5929b038;p=xen.git pdx: correct indentation Signed-off-by: Jan Beulich Reviewed-by: Andrew Cooper --- diff --git a/xen/common/pdx.c b/xen/common/pdx.c index c991a09522..1a2100c9d9 100644 --- a/xen/common/pdx.c +++ b/xen/common/pdx.c @@ -42,19 +42,20 @@ bool __mfn_valid(unsigned long mfn) /* Sets all bits from the most-significant 1-bit down to the LSB */ static u64 __init fill_mask(u64 mask) { - while (mask & (mask + 1)) - mask |= mask + 1; - return mask; + while (mask & (mask + 1)) + mask |= mask + 1; + + return mask; } u64 __init pdx_init_mask(u64 base_addr) { - return fill_mask(base_addr - 1); + return fill_mask(base_addr - 1); } u64 __init pdx_region_mask(u64 base, u64 len) { - return fill_mask(base ^ (base + len - 1)); + return fill_mask(base ^ (base + len - 1)); } void set_pdx_range(unsigned long smfn, unsigned long emfn)