Re: [Bugme-new] [Bug 8564] New: ftdi_sio: BUG: unable to handle kernel NULL pointer dereference at virtual address

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Am Freitag, 1. Juni 2007 21:40 schrieb Andrew Morton:
> It looks like the `serial' argument to ftdi_HE_TIRA1_setup() is NULL, and
> we went oops reading serial->port[0]).
> 
	priv = usb_get_serial_port_data(serial->port[0]);
	priv->flags |= ASYNC_SPD_CUST;

It bombs in priv->flags, as usb_get_serial_port_data() is used in a quirk
handler for the whole device before the ports are registered with the driver
core which would call ftdi_sio_port_probe() which calls
usb_set_serial_port_data()

	Regards
		Oliver

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
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.