Re: [patch] i386 warning cleanups that work

From: Dave Jones
Date: Sat May 20 2006 - 20:11:36 EST


On Sat, May 20, 2006 at 07:59:17PM -0400, Ameer Armaly wrote:

> diff --git a/arch/i386/kernel/cpu/transmeta.c
> b/arch/i386/kernel/cpu/transmeta.c
> index 7214c9b..0737890 100644
> --- a/arch/i386/kernel/cpu/transmeta.c
> +++ b/arch/i386/kernel/cpu/transmeta.c
> @@ -9,7 +9,7 @@ static void __init init_transmeta(struct
> {
> unsigned int cap_mask, uk, max, dummy;
> unsigned int cms_rev1, cms_rev2;
> - unsigned int cpu_rev, cpu_freq, cpu_flags, new_cpu_rev;
> + unsigned int cpu_rev, cpu_freq = 0, cpu_flags, new_cpu_rev;
> char cpu_info[65];
>
> get_model_name(c); /* Same as AMD/Cyrix */

http://www.gossamer-threads.com/lists/linux/kernel/647975?page=last

Dave

--
http://www.codemonkey.org.uk
-
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/