projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fb402b
)
xen/x86: ioapic: Use true/false in bad_ioapic_register()
author
Julien Grall
<jgrall@amazon.com>
Fri, 27 Mar 2020 18:16:22 +0000
(18:16 +0000)
committer
Julien Grall
<jgrall@amazon.com>
Fri, 10 Apr 2020 11:23:48 +0000
(12:23 +0100)
bad_ioapic_register() is returning a bool, so we should switch to
true/false.
Signed-off-by: Julien Grall <jgrall@amazon.com>
Reviewed-by: Wei Liu <wl@xen.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/io_apic.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/io_apic.c
b/xen/arch/x86/io_apic.c
index e98e08e9c8b566f769629716e6bf5a93e6ecced4..9868933287fe00d444afe35390c542c3eb4cb4c7 100644
(file)
--- a/
xen/arch/x86/io_apic.c
+++ b/
xen/arch/x86/io_apic.c
@@
-2531,10
+2531,10
@@
static __init bool bad_ioapic_register(unsigned int idx)
{
printk(KERN_WARNING "I/O APIC %#x registers return all ones, skipping!\n",
mp_ioapics[idx].mpc_apicaddr);
- return
1
;
+ return
true
;
}
- return
0
;
+ return
false
;
}
void __init init_ioapic_mappings(void)