From: Rafael J. Wysocki <rjw@xxxxxxx> After recent changes of the ACPI device low-power states definitions an error message in __acpi_bus_set_power() needs to be updated so that it prints the correct name of the state that has been requested (currently it will print "D3" for D3hot and "D4" for D3cold). Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx> --- drivers/acpi/bus.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: linux/drivers/acpi/bus.c =================================================================== --- linux.orig/drivers/acpi/bus.c +++ linux/drivers/acpi/bus.c @@ -240,7 +240,9 @@ static int __acpi_bus_set_power(struct a } if (!device->power.states[state].flags.valid) { - printk(KERN_WARNING PREFIX "Device does not support D%d\n", state); + printk(KERN_WARNING PREFIX "Device does not support D%d%s\n", + state == ACPI_STATE_D3_COLD ? 3 : state, + state == ACPI_STATE_D3_HOT ? "hot" : ""); return -ENODEV; } if (device->parent && (state < device->parent->power.state)) { -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html