Re: OOPS with 2.6.20 and 2.6.21-rc2 (mos7720)

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel,gmane.linux.kernel
Message-ID <[email protected]>
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

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

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
mos.debug (text/x-diff, 304 B)
--- 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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.