Messages in this thread Patch in this message | | | Date | Sat, 05 Mar 2005 17:37:50 -0600 (CST) | From | James Nelson <> | Subject | [PATCH 7/13] hidcore: Clean up printk()'s in drivers/usb/input/hid-core.c |
| |
Add a KERN_ERR constant and a driver prefix to printk()s needing them in drivers/usb/input/hid-core.c
Signed-off-by: James Nelson <james4765@gmail.com>
diff -Nurp -x dontdiff-osdl --exclude='*~' linux-2.6.11-mm1-original/drivers/usb/input/hid-core.c linux-2.6.11-mm1/drivers/usb/input/hid-core.c --- linux-2.6.11-mm1-original/drivers/usb/input/hid-core.c 2005-03-05 13:29:48.000000000 -0500 +++ linux-2.6.11-mm1/drivers/usb/input/hid-core.c 2005-03-05 15:45:44.000000000 -0500 @@ -1758,12 +1758,12 @@ static int hid_probe(struct usb_interfac usb_set_intfdata(intf, hid); if (!hid->claimed) { - printk ("HID device not claimed by input or hiddev\n"); + printk (KERN_ERR "HID device not claimed by input or hiddev\n"); hid_disconnect(intf); return -EIO; } - printk(KERN_INFO); + printk(KERN_INFO "usbhid: "); if (hid->claimed & HID_CLAIMED_INPUT) printk("input"); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |