diff options
author | Jean Delvare <khali@linux-fr.org> | 2007-06-23 20:16:24 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-06-24 11:59:10 -0400 |
commit | 6d79af701d334777541136e914a9c0969b2ad307 (patch) | |
tree | ab0515c53d548080baf62622ee00a5f176a02268 /drivers/hwmon/coretemp.c | |
parent | bbf14513ff0e1301a767ed8610babcc34cc132e6 (diff) |
hwmon/coretemp: fix a broken error path
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Rudolf Marek <r.marek@assembler.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/coretemp.c')
-rw-r--r-- | drivers/hwmon/coretemp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c index 0328382df8fa..6d54c8caed79 100644 --- a/drivers/hwmon/coretemp.c +++ b/drivers/hwmon/coretemp.c | |||
@@ -185,6 +185,7 @@ static int __devinit coretemp_probe(struct platform_device *pdev) | |||
185 | /* check for microcode update */ | 185 | /* check for microcode update */ |
186 | rdmsr_on_cpu(data->id, MSR_IA32_UCODE_REV, &eax, &edx); | 186 | rdmsr_on_cpu(data->id, MSR_IA32_UCODE_REV, &eax, &edx); |
187 | if (edx < 0x39) { | 187 | if (edx < 0x39) { |
188 | err = -ENODEV; | ||
188 | dev_err(&pdev->dev, | 189 | dev_err(&pdev->dev, |
189 | "Errata AE18 not fixed, update BIOS or " | 190 | "Errata AE18 not fixed, update BIOS or " |
190 | "microcode of the CPU!\n"); | 191 | "microcode of the CPU!\n"); |