[PATCH 06/10] kvm tools, powerpc: Reformatting in find_cpu_info()

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

 



Matt's enter key was broken when he wrote this ;)

Signed-off-by: Michael Ellerman <michael@xxxxxxxxxxxxxx>
---
 tools/kvm/powerpc/cpu_info.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/tools/kvm/powerpc/cpu_info.c b/tools/kvm/powerpc/cpu_info.c
index 7326f5b..586b232 100644
--- a/tools/kvm/powerpc/cpu_info.c
+++ b/tools/kvm/powerpc/cpu_info.c
@@ -75,13 +75,15 @@ static struct pvr_info host_pvr_info[] = {
 struct cpu_info *find_cpu_info(u32 pvr)
 {
 	unsigned int i;
+
 	for (i = 0; i < ARRAY_SIZE(host_pvr_info); i++) {
-		if ((pvr & host_pvr_info[i].pvr_mask) ==
-		    host_pvr_info[i].pvr) {
+		if ((pvr & host_pvr_info[i].pvr_mask) == host_pvr_info[i].pvr) {
 			return host_pvr_info[i].cpu_info;
 		}
 	}
+
 	/* Didn't find anything? Rut-ro. */
 	pr_warning("Host CPU unsupported by kvmtool\n");
+
 	return &cpu_dummy_info;
 }
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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