[PATCH] xen/x2apic: Fix inconsistent indenting

Jiapeng Chong posted 1 patch 2 years, 2 months ago
Failed in applying to current master (apply log)
arch/x86/xen/enlighten_hvm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[PATCH] xen/x2apic: Fix inconsistent indenting
Posted by Jiapeng Chong 2 years, 2 months ago
Eliminate the follow smatch warning:

arch/x86/xen/enlighten_hvm.c:189 xen_cpu_dead_hvm() warn: inconsistent
indenting.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 arch/x86/xen/enlighten_hvm.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/x86/xen/enlighten_hvm.c b/arch/x86/xen/enlighten_hvm.c
index 6448c5071117..6f4c9b57eda8 100644
--- a/arch/x86/xen/enlighten_hvm.c
+++ b/arch/x86/xen/enlighten_hvm.c
@@ -185,8 +185,7 @@ static int xen_cpu_dead_hvm(unsigned int cpu)
 
 	if (xen_have_vector_callback && xen_feature(XENFEAT_hvm_safe_pvclock))
 		xen_teardown_timer(cpu);
-
-       return 0;
+	return 0;
 }
 
 static bool no_vector_callback __initdata;
-- 
2.20.1.7.g153144c
Re: [PATCH] xen/x2apic: Fix inconsistent indenting
Posted by Juergen Gross 2 years, 2 months ago
On 07.02.22 11:35, Jiapeng Chong wrote:
> Eliminate the follow smatch warning:
> 
> arch/x86/xen/enlighten_hvm.c:189 xen_cpu_dead_hvm() warn: inconsistent
> indenting.
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen