Re: [PATCH 001] USB: Error handling bug fix for serial_open()

From: Greg KH
Date: Wed Oct 24 2007 - 18:00:15 EST


On Mon, Oct 22, 2007 at 11:47:08AM +0800, Richard Pearman wrote:
> From: Richard Pearman <richard.pearman@xxxxxxxxxxxxxxxx>
> From: Greg Breen <greg.breen@xxxxxxxxxxxxxxxx>
>
> When an error occurs in serial_open() ensure that port->tty and
> tty->driver_data are set to NULL, if previously assigned a value in the
> function.
>
> Signed-off-by: Richard S. Pearman <richard.pearman@xxxxxxxxxxxxxxxx>
> ---
> --- linux-2.6.17.1/drivers/usb/serial/usb-serial.c.orig Mon Oct 22

This has already been fixed in newer kernel versions.

Thanks for the patch though.

greg k-h
-
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/