Am Dienstag, 6. März 2007 16:31 schrieb Dirk Schoebel:
> new trace
> (if i should activate some kernel debugging optioons just mention it)
OK, here's an alternative debugging patch.
Regards
Oliver
--- linux-2.6.21-rc3/drivers/usb/serial/mos7720.c.alt 2007-03-07 15:53:00.000000000 +0100
+++ linux-2.6.21-rc3/drivers/usb/serial/mos7720.c 2007-03-07 15:56:16.000000000 +0100
@@ -335,7 +335,9 @@
char data;
int j;
+ BUG_ON(port == NULL);
serial = port->serial;
+ BUG_ON(serial == NULL);
mos7720_port = usb_get_serial_port_data(port);
if (mos7720_port == NULL)
@@ -460,6 +462,7 @@
dbg("To Submit URB !!!");
/* set up our interrupt urb */
+ BUG_ON(port0->interrupt_in_urb == NULL);
usb_fill_int_urb(port0->interrupt_in_urb, serial->dev,
usb_rcvintpipe(serial->dev,
port->interrupt_in_endpointAddress),
@@ -479,6 +482,7 @@
}
/* set up our bulk in urb */
+ BUG_ON(port0->read_urb == NULL);
usb_fill_bulk_urb(port->read_urb, serial->dev,
usb_rcvbulkpipe(serial->dev,
port->bulk_in_endpointAddress),
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel