Hi,

this is ontop of the newids patch I just sent.

The patch changes the noisy "Unable to access minor data" message to a
dbg.

Bye,
  Henning
  
--- linux-2.4.21-pre1.newids/drivers/usb/scanner.c      2002-12-19 12:31:58.000000000 
+0100
+++ linux-2.4.21-pre1.silent/drivers/usb/scanner.c      2002-12-19 13:10:15.000000000 
++0100
@@ -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: Geek Gift Procrastinating?
Get the perfect geek gift now!  Before the Holidays pass you by.
T H I N K G E E K . C O M      http://www.thinkgeek.com/sf/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to