[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1243395030.17847.55.camel@pasglop>
Date: Wed, 27 May 2009 13:30:30 +1000
From: Benjamin Herrenschmidt <benh@...nel.crashing.org>
To: Alan Stern <stern@...land.harvard.edu>
Cc: "Rafael J. Wysocki" <rjw@...k.pl>,
Linux Kernel list <linux-kernel@...r.kernel.org>,
linux-usb@...r.kernel.org
Subject: Re: Oops in usb-serial with keyspan adapter on current upstream
> Very clever. Does this simpler patch also fix the problem?
Yes it does, thanks.
Tested-by: Benjamin Herrenschmidt <benh@...nel.crashing.org>
---
>
> Index: usb-2.6/drivers/usb/serial/usb-serial.c
> ===================================================================
> --- usb-2.6.orig/drivers/usb/serial/usb-serial.c
> +++ usb-2.6/drivers/usb/serial/usb-serial.c
> @@ -974,6 +974,7 @@ int usb_serial_probe(struct usb_interfac
> if (retval > 0) {
> /* quietly accept this device, but don't bind to a
> serial port as it's about to disappear */
> + serial->num_ports = 0;
> goto exit;
> }
> }
>
> --
> 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/
--
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