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

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

 



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 <[email protected]>

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