Re: [PATCH 1/5] usb_debug: implement multi urb write

From: Oliver Neukum
Date: Wed May 06 2009 - 08:32:02 EST


Am Mittwoch, 6. Mai 2009 13:57:31 schrieb Jason Wessel:

> I would agree with you on that. It also means that the ftdi_sio.c
> driver has the same bug, because that is where it was derived from. You

Greg will happily take a patch.

> led me to see another flaw upon further inspection in that the usb_debug
> driver must also implement the chars_in_buffer() call back because the
> generic serial code will cause an oops with a null pointer dereference
> of the write_urb.

Good.

Regards
Oliver

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/