1 --- a/drivers/usb/serial/usb-serial.c
2 +++ b/drivers/usb/serial/usb-serial.c
3 @@ -904,7 +904,7 @@ int usb_serial_probe(struct usb_interfac
4 dev_err(&interface->dev, "No free urbs available\n");
7 - buffer_size = (endpoint->wMaxPacketSize > maxSize) ? endpoint->wMaxPacketSize : maxSize;
9 port->bulk_in_size = buffer_size;
10 port->bulk_in_endpointAddress = endpoint->bEndpointAddress;
11 port->bulk_in_buffer = kmalloc (buffer_size, GFP_KERNEL);