mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] xen/x2apic: Fix inconsistent indenting
@ 2022-02-07 10:35 Jiapeng Chong
  2022-02-07 10:38 ` Juergen Gross
  0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2022-02-07 10:35 UTC (permalink / raw)
  To: boris.ostrovsky
  Cc: jgross, sstabellini, tglx, mingo, bp, dave.hansen, x86, hpa,
	xen-devel, linux-kernel, Jiapeng Chong, Abaci Robot

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] xen/x2apic: Fix inconsistent indenting
  2022-02-07 10:35 [PATCH] xen/x2apic: Fix inconsistent indenting Jiapeng Chong
@ 2022-02-07 10:38 ` Juergen Gross
  0 siblings, 0 replies; 2+ messages in thread
From: Juergen Gross @ 2022-02-07 10:38 UTC (permalink / raw)
  To: Jiapeng Chong, boris.ostrovsky
  Cc: sstabellini, tglx, mingo, bp, dave.hansen, x86, hpa, xen-devel,
	linux-kernel, Abaci Robot


[-- Attachment #1.1.1: Type: text/plain, Size: 358 bytes --]

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

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3149 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-02-07 10:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-07 10:35 [PATCH] xen/x2apic: Fix inconsistent indenting Jiapeng Chong
2022-02-07 10:38 ` Juergen Gross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®