[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140602154036.GA8662@localhost>
Date: Mon, 2 Jun 2014 17:40:36 +0200
From: Johan Hovold <jhovold@...il.com>
To: Mike Remski <mremski@...ualink.net>
Cc: Johan Hovold <jhovold@...il.com>, linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org
Subject: Re: ftdi_sio BUG: NULL pointer dereference
[ Please avoid top-posting. ]
On Mon, Jun 02, 2014 at 11:16:11AM -0400, Mike Remski wrote:
> Thanks Johan, that's why I looked at the cross references for ftdi_sio.c
> over on
> http://lxr.free-electrons.com/source/drivers/usb/serial/ftdi_sio.c,
> latest version it's showing is 3.14. It appears that the ftdi_sio code
> is largely the same as in 2.6.32, particularly in the
> ftdi_set_max_packet_size() function.
Lots of things have changed since v2.6.32 and not just in the driver
itself but in all the infrastructure it relies on.
> I'm trying to verify if the "number of endpoints is 0" is a valid
> situation.
No, that is not normal, but it should not crash the driver if it's a
hardware issue. What is the lsusb -v output of your device (make sure
the ftdi_sio driver isn't loaded when connecting the device).
And what happens if you plug it into a machine running a recent kernel?
Thanks,
Johan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists