[kvm-unit-tests PATCH 2/2] x86/smptest: Fix whitespacing issues

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

 



​​​​The convention is using spaces in x86/smptest.c. However, tab was used  in 2 places. Replaced them with spaces.​
From aa35cf403ef2296afb20cbe96cf771495eebcd99 Mon Sep 17 00:00:00 2001
From: Metin Kaya <metikaya@xxxxxxxxxx>
Date: Wed, 22 Dec 2021 18:25:20 +0000
Subject: [kvm-unit-tests PATCH 2/2] x86/smptest: Fix whitespacing issues

The convention is using spaces in x86/smptest.c. However, tab was used
in 2 places. Replaced them with spaces.

Signed-off-by: Metin Kaya <metikaya@xxxxxxxxxx>
---
 x86/smptest.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/x86/smptest.c b/x86/smptest.c
index 2989aa0..6391759 100644
--- a/x86/smptest.c
+++ b/x86/smptest.c
@@ -9,7 +9,7 @@ static void ipi_test(void *data)
 
     printf("ipi called, cpu %d\n", n);
     if (n != smp_id())
-	printf("but wrong cpu %d\n", smp_id());
+        printf("but wrong cpu %d\n", smp_id());
     else
         nipis++;
 }
@@ -22,7 +22,7 @@ int main(void)
     ncpus = cpu_count();
     printf("found %d cpus\n", ncpus);
     for (i = 0; i < ncpus; ++i)
-	on_cpu(i, ipi_test, (void *)(long)i);
+        on_cpu(i, ipi_test, (void *)(long)i);
 
     report(nipis == ncpus, "IPI to each CPU");
     return report_summary();
-- 
2.32.0


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux