Skip to contentSkip to conversation

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

PATCH New Yasunori Goto 1 participant 1 message Oct 18, 2006 ACPI

lore
Share & tools
lore
#0 lore raw

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

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.

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

---

drivers/acpi/acpi_memhotplug.c +1 -1
Index: linux-2.6.18/drivers/acpi/acpi_memhotplug.c
===================================================================
@@ -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;
 }
Signature · 1 line
Yasunori Goto