Commit 2ba1ff2b authored by Andi Kleen's avatar Andi Kleen Committed by Andi Kleen

[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: default avatarAndi Kleen <ak@suse.de>
parent 0a4599c8
...@@ -384,7 +384,7 @@ static int do_microcode_update (void) ...@@ -384,7 +384,7 @@ static int do_microcode_update (void)
{ {
long cursor = 0; long cursor = 0;
int error = 0; int error = 0;
void *new_mc; void *new_mc = NULL;
int cpu; int cpu;
cpumask_t old; cpumask_t old;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment