From: Julien Grall Date: Mon, 3 Feb 2020 23:57:53 +0000 (+0000) Subject: xen/x86: hap: Fix coding style in hap_enable() X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~578 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=523a15a701baf01beb616238637be8be5d737d10;p=xen.git xen/x86: hap: Fix coding style in hap_enable() Signed-off-by: Julien Grall Reviewed-by: Roger Pau Monné Acked-by: George Dunlap --- diff --git a/xen/arch/x86/mm/hap/hap.c b/xen/arch/x86/mm/hap/hap.c index 3d93f3451c..31362a31b6 100644 --- 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;