Re: [PATCH v2] usb: cdns3: Handle ZLP request allocation failure
From: Greg KH
Date: Mon Aug 17 2026 - 07:07:04 EST
On Mon, Aug 17, 2026 at 04:03:20PM +0700, Triet Hoang wrote:
> Check the return value of cdns3_gadget_ep_alloc_request() before
> dereferencing the returned request.
>
> Changes in v2:
> - Allocate the ZLP request before queuing the primary request.
> - Free the allocated ZLP request when the primary request queueing fails.
The "changes" go below the --- line, right?
thanks,
greg k-h