Re: [PATCH] USB: legousbtower: Fix buffers on stack

2017-04-22 Thread Alfredo Rafael Vicente Boix
Hello, I have tested it and it works great!!! Thank you very much!! I use nqc to test it and it has uploaded the firmware to the brick perfectly. [ 164.835935] usb 4-5: new low-speed USB device number 3 using ohci-pci [ 165.050272] usb 4-5: New USB device found, idVendor=0694,

Re: [PATCH] USB: legousbtower: Fix buffers on stack

2017-04-21 Thread Greg Kroah-Hartman
On Fri, Apr 21, 2017 at 10:48:48PM +0300, Maksim Salau wrote: > Allocate buffers on HEAP instead of STACK for local structures > that are to be received using usb_control_msg(). > > Signed-off-by: Maksim Salau > --- > > I took the liberty to fix the module if Greg don't