Re: [linux-usb-devel] OOPS with 2.6.20 and 2.6.21-rc2 (mos7720)

From: Oliver Neukum
Date: Tue Mar 06 2007 - 10:18:56 EST


Am Dienstag, 6. MÃrz 2007 15:52 schrieb Dirk Schoebel:

> hmm, applied these patches, still crashes

Please apply the attached debugging patch.

Regards
Oliver
--- a/drivers/usb/serial/mos7720.c 2007-03-06 16:16:16.000000000 +0100
+++ b/drivers/usb/serial/mos7720.c 2007-03-06 16:16:21.000000000 +0100
@@ -334,7 +334,7 @@
int port_number;
char data;
int j;
-
+BUG_ON(port == NULL);
serial = port->serial;

mos7720_port = usb_get_serial_port_data(port);