diff mbox

acpi_button: random oops on boot

Message ID 1291477752.5096.27.camel@Tobias-Karnat (mailing list archive)
State New, archived
Headers show

Commit Message

Tobias Karnat Dec. 4, 2010, 3:49 p.m. UTC
None
diff mbox

Patch

--- a/drivers/acpi/button.c	2010-11-22 20:03:49.000000000 +0100
+++ b/drivers/acpi/button.c	2010-12-04 14:11:51.000000000 +0100
@@ -353,9 +353,13 @@ 
 		goto err_free_button;
 	}
 
+	printk(KERN_INFO PREFIX "button loading\n");
 	hid = acpi_device_hid(device);
+	printk(KERN_INFO PREFIX "hid: <%s>\n", hid);
 	name = acpi_device_name(device);
+	printk(KERN_INFO PREFIX "name: <%s>\n", name);
 	class = acpi_device_class(device);
+	printk(KERN_INFO PREFIX "class: <%s>\n", class);
 
 	if (!strcmp(hid, ACPI_BUTTON_HID_POWER) ||
 	    !strcmp(hid, ACPI_BUTTON_HID_POWERF)) {