Re: [patch] staging: comedi: usbdux: allocating too much data

2013-08-20 Thread Ian Abbott
On 2013-08-20 10:06, Dan Carpenter wrote: We only need to allocate enough space for a pointer. We allocate the space for the urbs themselves with the call to usb_alloc_urb() a few lines later. Signed-off-by: Dan Carpenter --- Untested. diff --git a/drivers/staging/comedi/drivers/usbdux.c b/d

[patch] staging: comedi: usbdux: allocating too much data

2013-08-20 Thread Dan Carpenter
We only need to allocate enough space for a pointer. We allocate the space for the urbs themselves with the call to usb_alloc_urb() a few lines later. Signed-off-by: Dan Carpenter --- Untested. diff --git a/drivers/staging/comedi/drivers/usbdux.c b/drivers/staging/comedi/drivers/usbdux.c index