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:
0a4599c
)
[PATCH] i386: Fix warning in microcode.c
author
Andi Kleen
<ak@suse.de>
Tue, 13 Feb 2007 12:26:25 +0000
(13:26 +0100)
committer
Andi Kleen
<andi@basil.nowhere.org>
Tue, 13 Feb 2007 12:26:25 +0000
(13:26 +0100)
Fix bogus gcc warning
linux/arch/i386/kernel/microcode.c:387: warning: ‘new_mc’ may be used uninitialized in this function
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/microcode.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/i386/kernel/microcode.c
b/arch/i386/kernel/microcode.c
index 381252bae3d817c1509a7c3fcd98d304f831da29..b8f16633a6ece6380cd8396c702c2ac75937a6a1 100644
(file)
--- a/
arch/i386/kernel/microcode.c
+++ b/
arch/i386/kernel/microcode.c
@@
-384,7
+384,7
@@
static int do_microcode_update (void)
{
long cursor = 0;
int error = 0;
- void *new_mc;
+ void *new_mc
= NULL
;
int cpu;
cpumask_t old;