2002-09-01 07:20:38

by Nicholas Miell

[permalink] [raw]
Subject: 2.5.33 USB storage depmod error fix

show_trace isn't exported, nor is it defined by all architectures. (This
is what I use to get the usb-storage module to work; the more
appropriate solution would be to implement show_trace on all
architectures and properly export it.)

--- linux-2.5-build/drivers/usb/storage/transport.c.~1~ Sat Aug 17 12:07:00 2002
+++ linux-2.5-build/drivers/usb/storage/transport.c Sun Sep 1 00:20:28 2002
@@ -350,7 +350,6 @@
*/
if (len != srb->request_bufflen) {
printk("USB len=%d, request_bufflen=%d\n", len, srb->request_bufflen);
- show_trace(NULL);
}

return len;