projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ba1ff2
)
[PATCH] i386: Fix warning in cpu initialization
author
Andi Kleen
<ak@suse.de>
Tue, 13 Feb 2007 12:26:25 +0000
(13:26 +0100)
committer
Andi Kleen
<andi@basil.nowhere.org>
Tue, 13 Feb 2007 12:26:25 +0000
(13:26 +0100)
Fix bogus warning
linux/arch/i386/kernel/cpu/transmeta.c:12: warning: ‘cpu_freq’ may be used uninitialized in this function
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/cpu/transmeta.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/i386/kernel/cpu/transmeta.c
b/arch/i386/kernel/cpu/transmeta.c
index b536e810d27e3378422b3212852b19ebdf985d4b..5678d46863c614f2c942ef6397eca9e627fd7a22 100644
(file)
--- a/
arch/i386/kernel/cpu/transmeta.c
+++ b/
arch/i386/kernel/cpu/transmeta.c
@@
-9,7
+9,7
@@
static void __cpuinit init_transmeta(struct cpuinfo_x86 *c)
{
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 */
This page took
0.024868 seconds
and
5
git commands to generate.