[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] pdx: correct indentation



commit 0def739d77c14b570cf30b6156afea0f5929b038
Author:     Jan Beulich <jbeulich@xxxxxxxx>
AuthorDate: Thu Dec 7 11:08:41 2017 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Dec 7 11:08:41 2017 +0100

    pdx: correct indentation
    
    Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
    Reviewed-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
 xen/common/pdx.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/xen/common/pdx.c b/xen/common/pdx.c
index c991a09..1a2100c 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)
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.