Re: [PATCH 03/15] usb: misc: cytherm: update to use usb_control_msg_recv()

From: Anant Thazhemadam
Date: Sun Nov 29 2020 - 11:41:37 EST



On 29/11/20 9:46 pm, Greg Kroah-Hartman wrote:
> There's no more need to dynamically allocate the buffer variable here
> now, right? It can be on the stack as the change you made above allows
> that to work properly, no need to allocate the buffer twice in a row
> (once here and once in the USB core).
>
> That would make these functions less complex, always a good thing.
>
> You should check this on the other patches in this series as well.

Understood, I will do that. I apologize for the oversight.

Thanks,
Anant