mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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>
This commit is contained in:
parent
bbf14513ff
commit
6d79af701d
1 changed files with 1 additions and 0 deletions
|
@ -185,6 +185,7 @@ static int __devinit coretemp_probe(struct platform_device *pdev)
|
|||
/* check for microcode update */
|
||||
rdmsr_on_cpu(data->id, MSR_IA32_UCODE_REV, &eax, &edx);
|
||||
if (edx < 0x39) {
|
||||
err = -ENODEV;
|
||||
dev_err(&pdev->dev,
|
||||
"Errata AE18 not fixed, update BIOS or "
|
||||
"microcode of the CPU!\n");
|
||||
|
|
Loading…
Reference in a new issue