[PATCH](acpi:memory hotplug) Change log level of a message of acpi_memhotplug to KERN_DEBUG

From: Yasunori Goto
Date: Wed Oct 18 2006 - 10:21:46 EST


This patch may be a bit trivial. But, I suppose this message seems
quite useless except debugging. It just shows "Hotplug Mem Device".
System admin can't know anything by this message.
So, I would like to change it to KERN_DEBUG.

This patch is for 2.6.19-rc2.

Please apply.

Signed-off-by: Yasunori Goto <y-goto@xxxxxxxxxxxxxx>

---
drivers/acpi/acpi_memhotplug.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

---

Index: linux-2.6.18/drivers/acpi/acpi_memhotplug.c
===================================================================
--- linux-2.6.18.orig/drivers/acpi/acpi_memhotplug.c 2006-10-18 22:50:44.000000000 +0900
+++ linux-2.6.18/drivers/acpi/acpi_memhotplug.c 2006-10-18 22:51:47.000000000 +0900
@@ -416,7 +416,7 @@
/* Set the device state */
mem_device->state = MEMORY_POWER_ON_STATE;

- printk(KERN_INFO "%s \n", acpi_device_name(device));
+ printk(KERN_DEBUG "%s \n", acpi_device_name(device));

return result;
}

--
Yasunori Goto


-
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/