Re: ACPI: Device [kobj-name] is not power manageable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 30 Jun 2006 23:59:25 GMT Linux Kernel Mailing List wrote:

> commit 64dedfb8fdbbc4fabb8c131e4b597cd4bc7f3881
> tree 7ef0c5e0574bc94fe4d25bb5994b31938205e7cf
> parent 9e7e2c047503db5a094ab30c7b4b8a5a0a324915
> author Jae-hyeon Park <[email protected]> Tue, 27 Jun 2006 06:34:03 -0400
> committer Len Brown <[email protected]> Tue, 27 Jun 2006 08:00:40 -0400
> 
> ACPI: Device [kobj-name] is not power manageable
> 
> print kobj name in this message.
> lenb changed to use printk.
> 
> Signed-off-by: Randy Dunlap <[email protected]>
> Signed-off-by: Andrew Morton <[email protected]>
> Signed-off-by: Len Brown <[email protected]>
> 
>  drivers/acpi/bus.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c
> index 917bf23..f4a36d3 100644
> --- a/drivers/acpi/bus.c
> +++ b/drivers/acpi/bus.c
> @@ -196,7 +196,8 @@ int acpi_bus_set_power(acpi_handle handl
>  	/* Make sure this is a valid target state */
>  
>  	if (!device->flags.power_manageable) {
> -		ACPI_INFO((AE_INFO, "Device is not power manageable"));
> +		printk(KERN_DEBUG "Device `[%s]is not power manageable",
> +				device->kobj.name);
>  		return_VALUE(-ENODEV);
>  	}
>  	/*
> -

Andrew, can you send Linus the typo correction patch for this??
or should I?


s/`//
s/]/] /

Hm, needs a \n too.

~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux