Skip to content

Commit

Permalink
[PATCH] i386: Fix warning in microcode.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andi Kleen authored and Andi Kleen committed Feb 13, 2007
1 parent 0a4599c commit 2ba1ff2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/i386/kernel/microcode.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 2ba1ff2

Please sign in to comment.