projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b72c409
)
hwmon: (coretemp) Fix cpu model output
author
Prarit Bhargava
<prarit@redhat.com>
Mon, 29 Mar 2010 20:02:59 +0000
(22:02 +0200)
committer
Jean Delvare
<khali@linux-fr.org>
Mon, 29 Mar 2010 20:02:59 +0000
(22:02 +0200)
Avoid hex and decimal confusion when printing out the cpu model.
Signed-off-by: Prarit Bhargava <prarit@redhat.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/coretemp.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/coretemp.c
b/drivers/hwmon/coretemp.c
index
2d7bcee
..
f5f975b
100644
(file)
--- a/
drivers/hwmon/coretemp.c
+++ b/
drivers/hwmon/coretemp.c
@@
-466,7
+466,7
@@
static int __init coretemp_init(void)
family 6 CPU */
if ((c->x86 == 0x6) && (c->x86_model > 0xf))
printk(KERN_WARNING DRVNAME ": Unknown CPU "
- "model %x\n", c->x86_model);
+ "model
0x
%x\n", c->x86_model);
continue;
}