diff options
author | Andi Kleen <ak@suse.de> | 2007-02-13 13:26:25 +0100 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2007-02-13 13:26:25 +0100 |
commit | 2ba1ff2b796746722fc4fe8bdcd1f30a834e3d0a (patch) | |
tree | ef1cd26a6d124f72417dfa4556a0e7cfc8557832 /arch | |
parent | 0a4599c894d880763eec6cb93f6c246dac6c3269 (diff) |
[PATCH] i386: Fix warning in microcode.c
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/microcode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/microcode.c b/arch/i386/kernel/microcode.c index 381252bae3d8..b8f16633a6ec 100644 --- 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; |