[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <b572c9e10608091049q5223adddxb2fd854c31877670@mail.gmail.com>
Date: Wed, 9 Aug 2006 13:49:00 -0400
From: "Forrest Voight" <voights@...il.com>
To: linux-kernel@...r.kernel.org
Subject: [PATCH] arch/i386/kernel/cpu/transmeta.c, kernel 2.6.17.8
Corrects warning:
CC arch/i386/kernel/cpu/centaur.o
CC arch/i386/kernel/cpu/transmeta.o
arch/i386/kernel/cpu/transmeta.c: In function 'init_transmeta':
arch/i386/kernel/cpu/transmeta.c:12: warning: 'cpu_freq' may be used
uninitialized in this function
CC arch/i386/kernel/cpu/intel.o
--- linux-2.6.17.8/arch/i386/kernel/cpu/transmeta.c 2006-08-07
00:18:54.000000000 -0400
+++ linux/arch/i386/kernel/cpu/transmeta.c 2006-08-09
13:32:05.000000000 -0400
@@ -9,7 +9,7 @@
{
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 */
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists