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.

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++) {


-- Daniel Drake (dsd) http://www.reactivated.net




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