ChangeSet 1.2223.2.12, 2004/11/24 15:46:18-08:00, [EMAIL PROTECTED]

USB: fix dev_dbg() call in visor.c

Turns out that this macro doesn't work in usb-serial drivers, I had forgotten
about that :(

Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>


 drivers/usb/serial/visor.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/usb/serial/visor.c b/drivers/usb/serial/visor.c
--- a/drivers/usb/serial/visor.c        2004-11-30 15:43:37 -08:00
+++ b/drivers/usb/serial/visor.c        2004-11-30 15:43:37 -08:00
@@ -494,7 +494,7 @@
        spin_lock_irqsave(&priv->lock, flags);
        if (priv->outstanding_urbs > URB_UPPER_LIMIT) {
                spin_unlock_irqrestore(&priv->lock, flags);
-               dev_dbg(&port->dev, "write limit hit\n");
+               dbg("%s - write limit hit\n", __FUNCTION__);
                return 0;
        }
        spin_unlock_irqrestore(&priv->lock, flags);



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to