Re: [PATCH v2] usb: cdns3: Handle ZLP request allocation failure
Greg KH <[email protected]>
| Newsgroups | org.kernel.vger.linux-usb,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <2026081757-fog-lunacy-2df9@gregkh> |
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