* Re: ACPI: Device [kobj-name] is not power manageable
[not found] <200606302359.k5UNxPJ1002907@hera.kernel.org>
@ 2006-07-01 0:15 ` Randy.Dunlap
2006-07-01 0:24 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2006-07-01 0:15 UTC (permalink / raw)
To: Linux Kernel Mailing List; +Cc: akpm, len.brown, torvalds
On Fri, 30 Jun 2006 23:59:25 GMT Linux Kernel Mailing List wrote:
> commit 64dedfb8fdbbc4fabb8c131e4b597cd4bc7f3881
> tree 7ef0c5e0574bc94fe4d25bb5994b31938205e7cf
> parent 9e7e2c047503db5a094ab30c7b4b8a5a0a324915
> author Jae-hyeon Park <hpark@tuhep.phys.tohoku.ac.jp> Tue, 27 Jun 2006 06:34:03 -0400
> committer Len Brown <len.brown@intel.com> 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 <rdunlap@xenotime.net>
> Signed-off-by: Andrew Morton <akpm@osdl.org>
> Signed-off-by: Len Brown <len.brown@intel.com>
>
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ACPI: Device [kobj-name] is not power manageable
2006-07-01 0:15 ` ACPI: Device [kobj-name] is not power manageable Randy.Dunlap
@ 2006-07-01 0:24 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2006-07-01 0:24 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: linux-kernel, len.brown, torvalds
"Randy.Dunlap" <rdunlap@xenotime.net> wrote:
>
> Andrew, can you send Linus the typo correction patch for this??
> or should I?
Is OK, I have a couple of post-acpi-merge fixlets queued which I'll be
sending in the next batch.
diff -puN drivers/acpi/acpi_memhotplug.c~acpi-printk-fix drivers/acpi/acpi_memhotplug.c
--- a/drivers/acpi/acpi_memhotplug.c~acpi-printk-fix
+++ a/drivers/acpi/acpi_memhotplug.c
@@ -248,7 +248,7 @@ static int acpi_memory_enable_device(str
num_enabled++;
}
if (!num_enabled) {
- ACPI_DEBUG_PRINT((ACPI_DB_ERROR, "\nadd_memory failed\n"));
+ printk(KERN_ERR PREFIX "add_memory failed\n");
mem_device->state = MEMORY_INVALID_STATE;
return -EINVAL;
}
_
and
--- a/drivers/acpi/bus.c~acpi-identify-which-device-is-not-power-manageable
+++ a/drivers/acpi/bus.c
@@ -192,7 +192,7 @@ int acpi_bus_set_power(acpi_handle handl
/* Make sure this is a valid target state */
if (!device->flags.power_manageable) {
- printk(KERN_DEBUG "Device `[%s]is not power manageable",
+ printk(KERN_DEBUG "Device `[%s]' is not power manageable",
device->kobj.name);
return -ENODEV;
}
_
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-01 0:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200606302359.k5UNxPJ1002907@hera.kernel.org>
2006-07-01 0:15 ` ACPI: Device [kobj-name] is not power manageable Randy.Dunlap
2006-07-01 0:24 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®