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

From: Subrata Modak
Date: Wed Jun 17 2009 - 12:11:46 EST


On Wed, 2009-06-17 at 17:28 +0200, Ingo Molnar wrote:
> * 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.

Thanks Ingo. I would do whenever i find again one.

>
> 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.

My mistake. I did not keep track.

Regards--
Subrata

>
> 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/