Re: [PATCH]x86-tsc.c : fix compile warning

From: Ingo Molnar
Date: Wed Jun 17 2009 - 11:28:30 EST



* Subrata Modak <subrata@xxxxxxxxxxxxxxxxxx> wrote:

> > fix compile warning:
> > arch/x86/kernel/tsc.c: In function âtime_cpufreq_notifierâ:
> > arch/x86/kernel/tsc.c:635: warning: âdummyâ may be used uninitialized in
> > this function
> >
> > Signed-off-by: Figo.zhang <figo1802@xxxxxxxxx>
>
> Hello Figo,
>
> Please refer to the following links on discussion on this issue earlier:
> http://lkml.org/lkml/2009/5/19/312
> http://lkml.org/lkml/2009/5/19/301
> http://lkml.org/lkml/2009/5/20/23
>
> I tried to fix it in some other way.

Ah, and you fixed in what a superior way: you improved the code in
the process :-) This is how warnings should be fixed really.

Applied.

We apparently missed it when you sent it in May - generally feel
free to re-send patches if you dont see a commit notification within
a few days.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/