lkml.org 
[lkml]   [2005]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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/
\
 
 \ /
  Last update: 2005-03-22 14:10    [W:0.087 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site