projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faf0d60
)
xen/x86: hap: Fix coding style in hap_enable()
author
Julien Grall
<jgrall@amazon.com>
Mon, 3 Feb 2020 23:57:53 +0000
(23:57 +0000)
committer
Julien Grall
<julien@xen.org>
Thu, 5 Mar 2020 12:59:46 +0000
(12:59 +0000)
Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
xen/arch/x86/mm/hap/hap.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm/hap/hap.c
b/xen/arch/x86/mm/hap/hap.c
index 3d93f3451cfc8684df387b43fa3feca254bbb5bc..31362a31b65424434b3768d1731479c9bd313a62 100644
(file)
--- a/
xen/arch/x86/mm/hap/hap.c
+++ b/
xen/arch/x86/mm/hap/hap.c
@@
-473,7
+473,8
@@
int hap_enable(struct domain *d, u32 mode)
goto out;
}
- for (i = 0; i < MAX_NESTEDP2M; i++) {
+ for ( i = 0; i < MAX_NESTEDP2M; i++ )
+ {
rv = p2m_alloc_table(d->arch.nested_p2m[i]);
if ( rv != 0 )
goto out;