Re: [PATCH 1/2] ACPI / PM: Fix error messages in drivers/acpi/bus.c
From: Andreas Mohr
Date: Sun May 20 2012 - 06:08:52 EST
Hi,
> --- linux.orig/drivers/acpi/bus.c
> +++ linux/drivers/acpi/bus.c
> @@ -182,6 +182,24 @@ EXPORT_SYMBOL(acpi_bus_get_private_data)
> Power Management
> -------------------------------------------------------------------------- */
>
> +static char *state_string(int state)
> +{
> + switch (state) {
> + case ACPI_STATE_D0:
> + return "D0";
> + case ACPI_STATE_D1:
> + return "D1";
"const char", please?
In general: nice work, thanks!
Andreas Mohr
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/