[PATCH] Change log level of a message of acpi_memhotplug to KERN_DEBUG
authorYasunori Goto <y-goto@jp.fujitsu.com>
Fri, 20 Oct 2006 06:28:30 +0000 (23:28 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 20 Oct 2006 17:26:37 +0000 (10:26 -0700)
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.

Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/acpi/acpi_memhotplug.c

index 98099de59b45bcfec5ee8636650c5eb29ee5fbd0..9090b5acc5e35c741c60018cc84ef4d0d83b45e4 100644 (file)
@@ -414,7 +414,7 @@ static int acpi_memory_device_add(struct acpi_device *device)
        /* 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;
 }