render / rpms / libvirt

Forked from rpms/libvirt 5 months ago
Clone
43fe83
From a7fe351dd627d6aca3cb00c53bce66df74a98fba Mon Sep 17 00:00:00 2001
43fe83
Message-Id: <a7fe351dd627d6aca3cb00c53bce66df74a98fba.1383922566.git.jdenemar@redhat.com>
43fe83
From: Peter Krempa <pkrempa@redhat.com>
43fe83
Date: Fri, 8 Nov 2013 12:33:25 +0100
43fe83
Subject: [PATCH] cpu: x86: Fix return types of x86cpuidMatch and
43fe83
 x86cpuidMatchMasked
43fe83
43fe83
https://bugzilla.redhat.com/show_bug.cgi?id=1008989
43fe83
43fe83
These return boolean results.
43fe83
43fe83
(cherry picked from commit 57d27a84a39359dba1dd50741cff61c535895e08)
43fe83
43fe83
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
43fe83
---
43fe83
 src/cpu/cpu_x86.c | 4 ++--
43fe83
 1 file changed, 2 insertions(+), 2 deletions(-)
43fe83
43fe83
diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c
43fe83
index 93a2372..6c599f8 100644
43fe83
--- a/src/cpu/cpu_x86.c
43fe83
+++ b/src/cpu/cpu_x86.c
43fe83
@@ -90,7 +90,7 @@ struct virCPUx86DataIterator {
43fe83
     { data, -1, false }
43fe83
 
43fe83
 
43fe83
-static int
43fe83
+static bool
43fe83
 x86cpuidMatch(const virCPUx86CPUID *cpuid1,
43fe83
               const virCPUx86CPUID *cpuid2)
43fe83
 {
43fe83
@@ -101,7 +101,7 @@ x86cpuidMatch(const virCPUx86CPUID *cpuid1,
43fe83
 }
43fe83
 
43fe83
 
43fe83
-static int
43fe83
+static bool
43fe83
 x86cpuidMatchMasked(const virCPUx86CPUID *cpuid,
43fe83
                     const virCPUx86CPUID *mask)
43fe83
 {
43fe83
-- 
43fe83
1.8.4.2
43fe83