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 <maksim.sa...@gmail.com>
> ---
> 
> I took the liberty to fix the module if Greg don't mind.
> It is to be applied on vanilla v4.10.12 (without Greg's patch).

Yeah!  Thank you for this, I got distracted with stable kernel work for
the past few days.

> Changes compared to Greg's version:
> * fixed tower_reset() which is used in the open callback;
> * better deallocation handling in case of failures.

Alfredo, can you test this patch out?

thanks again,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to