On Tue, 16 Sep 2003 19:56:15 +0100 Daniel Drake <[EMAIL PROTECTED]> wrote:

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

Yes.

| Here is a patch to fix this, also available at 
http://www.reactivated.net/patches/linux-kernel/2.6.0-test5/usblp-debug-output-fix.patch
| 
| Feedback is appreciated, because I am new to kernel development :)
| 
| --
| 
| --- linux-2.6.0-test5/drivers/usb/class/usblp.c       2003-09-16 14:05:20.000000000 
+0100
| +++ linux/drivers/usb/class/usblp.c   2003-09-16 18:46:38.693534416 +0100
| @@ -159,7 +159,7 @@
|       dbg("usblp=0x%p", usblp);
|       dbg("dev=0x%p", usblp->dev);
|       dbg("present=%d", usblp->present);
| -     dbg("buf=0x%p", usblp->buf);
| +     dbg("buf=0x%p", usblp->readbuf);
|       dbg("readcount=%d", usblp->readcount);
|       dbg("ifnum=%d", usblp->ifnum);
|      for (p = USBLP_FIRST_PROTOCOL; p <= USBLP_LAST_PROTOCOL; p++) {

I was just looking at your previous post/patch for this.
There are now 3 bufs:  readbuf, writebuf, and statusbuf.
And writebuf is more interesting than readbuf IMO.

Maybe add readurb and writeurb to usblp_dump() also.

--
~Randy


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