ChangeSet 1.893.2.2, 2002/12/19 14:46:51-08:00, [EMAIL PROTECTED]
[PATCH] scanner.c: silence noisy debug message
The patch changes the noisy "Unable to access minor data" message to a
dbg.
diff -Nru a/drivers/usb/scanner.c b/drivers/usb/scanner.c
--- a/drivers/usb/scanner.c Mon Jan 6 11:32:44 2003
+++ b/drivers/usb/scanner.c Mon Jan 6 11:32:44 2003
@@ -321,6 +321,7 @@
* Ed Hamrick <[EMAIL PROTECTED]>, Oliver Schwartz
* <[EMAIL PROTECTED]> and everyone else who sent ids.
* - Some Benq, Genius and Plustek ids are identified now.
+ * - Don't clutter syslog with "Unable to access minor data" messages.
*
* TODO
* - Remove the 2/3 endpoint limitation
@@ -406,7 +407,7 @@
if (!p_scn_table[scn_minor]) {
up(&scn_mutex);
MOD_DEC_USE_COUNT;
- err("open_scanner(%d): Unable to access minor data", scn_minor);
+ dbg("open_scanner(%d): Unable to access minor data", scn_minor);
return -ENODEV;
}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel