aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_idle.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/processor_idle.c')
-rw-r--r--drivers/acpi/processor_idle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index 52ada5322447..786851da85c6 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -674,7 +674,7 @@ static int acpi_processor_get_power_info_cst(struct acpi_processor *pr)
674 674
675 /* There must be at least 2 elements */ 675 /* There must be at least 2 elements */
676 if (!cst || (cst->type != ACPI_TYPE_PACKAGE) || cst->package.count < 2) { 676 if (!cst || (cst->type != ACPI_TYPE_PACKAGE) || cst->package.count < 2) {
677 ACPI_ERROR((AE_INFO, "not enough elements in _CST")); 677 printk(KERN_ERR PREFIX "not enough elements in _CST\n");
678 status = -EFAULT; 678 status = -EFAULT;
679 goto end; 679 goto end;
680 } 680 }
@@ -683,7 +683,7 @@ static int acpi_processor_get_power_info_cst(struct acpi_processor *pr)
683 683
684 /* Validate number of power states. */ 684 /* Validate number of power states. */
685 if (count < 1 || count != cst->package.count - 1) { 685 if (count < 1 || count != cst->package.count - 1) {
686 ACPI_ERROR((AE_INFO, "count given by _CST is not valid")); 686 printk(KERN_ERR PREFIX "count given by _CST is not valid\n");
687 status = -EFAULT; 687 status = -EFAULT;
688 goto end; 688 goto end;
689 } 689 }