On Fri, Jun 07, 2013 at 11:40:25AM +0200, Johan Hovold wrote:
> On Thu, Jun 06, 2013 at 10:31:21AM -0700, Greg KH wrote:
> > From: Greg Kroah-Hartman
>
> [...]
>
> > --- a/drivers/usb/serial/usb-serial.c
> > +++ b/drivers/usb/serial/usb-serial.c
> > @@ -37,6 +37,7 @@
> > #include
> >
On Fri, Jun 07, 2013 at 12:00:47PM +0200, Johan Hovold wrote:
> On Thu, Jun 06, 2013 at 10:31:21AM -0700, Greg KH wrote:
> > From: Greg Kroah-Hartman
>
> > @@ -1040,11 +1044,10 @@ static int usb_serial_probe(struct usb_i
> > */
> > serial->disconnected = 1;
> >
> > - if
On Thu, Jun 06, 2013 at 10:31:21AM -0700, Greg KH wrote:
> From: Greg Kroah-Hartman
> @@ -1040,11 +1044,10 @@ static int usb_serial_probe(struct usb_i
>*/
> serial->disconnected = 1;
>
> - if (get_free_serial(serial, num_ports, ) == NULL) {
> + if (get_free_serial(serial,
On Fri, Jun 07, 2013 at 11:40:25AM +0200, Johan Hovold wrote:
> On Thu, Jun 06, 2013 at 10:31:21AM -0700, Greg KH wrote:
> > From: Greg Kroah-Hartman
>
> [...]
>
> > /* Functions needed by other parts of the usbserial core */
> > -extern struct usb_serial *usb_serial_get_by_index(unsigned int
On Thu, Jun 06, 2013 at 10:31:21AM -0700, Greg KH wrote:
> From: Greg Kroah-Hartman
[...]
> --- a/drivers/usb/serial/usb-serial.c
> +++ b/drivers/usb/serial/usb-serial.c
> @@ -37,6 +37,7 @@
> #include
> #include
> #include
> +#include
> #include "pl2303.h"
>
> #define DRIVER_AUTHOR
On Fri, Jun 07, 2013 at 12:00:47PM +0200, Johan Hovold wrote:
On Thu, Jun 06, 2013 at 10:31:21AM -0700, Greg KH wrote:
From: Greg Kroah-Hartman gre...@linuxfoundation.org
@@ -1040,11 +1044,10 @@ static int usb_serial_probe(struct usb_i
*/
serial-disconnected = 1;
- if
On Fri, Jun 07, 2013 at 11:40:25AM +0200, Johan Hovold wrote:
On Thu, Jun 06, 2013 at 10:31:21AM -0700, Greg KH wrote:
From: Greg Kroah-Hartman gre...@linuxfoundation.org
[...]
--- a/drivers/usb/serial/usb-serial.c
+++ b/drivers/usb/serial/usb-serial.c
@@ -37,6 +37,7 @@
#include
On Thu, Jun 06, 2013 at 10:31:21AM -0700, Greg KH wrote:
From: Greg Kroah-Hartman gre...@linuxfoundation.org
[...]
--- a/drivers/usb/serial/usb-serial.c
+++ b/drivers/usb/serial/usb-serial.c
@@ -37,6 +37,7 @@
#include linux/usb.h
#include linux/usb/serial.h
#include linux/kfifo.h
On Fri, Jun 07, 2013 at 11:40:25AM +0200, Johan Hovold wrote:
On Thu, Jun 06, 2013 at 10:31:21AM -0700, Greg KH wrote:
From: Greg Kroah-Hartman gre...@linuxfoundation.org
[...]
/* Functions needed by other parts of the usbserial core */
-extern struct usb_serial
On Thu, Jun 06, 2013 at 10:31:21AM -0700, Greg KH wrote:
From: Greg Kroah-Hartman gre...@linuxfoundation.org
@@ -1040,11 +1044,10 @@ static int usb_serial_probe(struct usb_i
*/
serial-disconnected = 1;
- if (get_free_serial(serial, num_ports, minor) == NULL) {
+ if
From: Greg Kroah-Hartman
This moves the allocation of minor device numbers from a static array to
be dynamic, using the idr interface. This means that you could
potentially get "gaps" in a minor number range for a single USB serial
device with multiple ports, but all should still work properly.
From: Greg Kroah-Hartman gre...@linuxfoundation.org
This moves the allocation of minor device numbers from a static array to
be dynamic, using the idr interface. This means that you could
potentially get gaps in a minor number range for a single USB serial
device with multiple ports, but all
12 matches
Mail list logo