ChangeSet 1.1315.8.15, 2003/09/17 14:18:13-07:00, [EMAIL PROTECTED]

[PATCH] USB: Debug code fixes for usblp

When compiling usblp with debug info, a compile error occurs. I presume
this is because this part of the code has not been updated since the 2.4
kernels.  This patch fixes this.
I also enhanced the debug output a little, as suggested by Randy Dunlap.


 drivers/usb/class/usblp.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)


diff -Nru a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c
--- a/drivers/usb/class/usblp.c Fri Sep 19 17:12:21 2003
+++ b/drivers/usb/class/usblp.c Fri Sep 19 17:12:21 2003
@@ -159,7 +159,10 @@
        dbg("usblp=0x%p", usblp);
        dbg("dev=0x%p", usblp->dev);
        dbg("present=%d", usblp->present);
-       dbg("buf=0x%p", usblp->buf);
+       dbg("readbuf=0x%p", usblp->readbuf);
+       dbg("writebuf=0x%p", usblp->writebuf);
+       dbg("readurb=0x%p", usblp->readurb);
+       dbg("writeurb=0x%p", usblp->writeurb);
        dbg("readcount=%d", usblp->readcount);
        dbg("ifnum=%d", usblp->ifnum);
     for (p = USBLP_FIRST_PROTOCOL; p <= USBLP_LAST_PROTOCOL; p++) {



-------------------------------------------------------
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

Reply via email to