projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e74437
)
[PATCH] i386: Fix io_apic.c warning
author
Andi Kleen
<ak@suse.de>
Sat, 9 Dec 2006 20:33:36 +0000
(21:33 +0100)
committer
Andi Kleen
<andi@basil.nowhere.org>
Sat, 9 Dec 2006 20:33:36 +0000
(21:33 +0100)
gcc 4.2 warns
linux/arch/i386/kernel/io_apic.c: In function ‘create_irq’:
linux/arch/i386/kernel/io_apic.c:2488: warning: ‘vector’ may be used uninitialized in this function
The warning is false, but somewhat legitimate so work around it.
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/io_apic.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/i386/kernel/io_apic.c
b/arch/i386/kernel/io_apic.c
index e21dcde0790e62cd389b6062803e9bd014a51048..2424cc9c7b3d60d1d673ee1668a8cb27db28344e 100644
(file)
--- a/
arch/i386/kernel/io_apic.c
+++ b/
arch/i386/kernel/io_apic.c
@@
-2485,7
+2485,7
@@
device_initcall(ioapic_init_sysfs);
int create_irq(void)
{
/* Allocate an unused irq */
- int irq, new, vector;
+ int irq, new, vector
= 0
;
unsigned long flags;
irq = -ENOSPC;