Re: [PATCH] usb: gadget: net2280: Fix double free in probe error path
From: Guangshuo Li
Date: Mon Apr 27 2026 - 11:46:52 EST
Hi Alan,
Thank you for the review and correction.
On Mon, 27 Apr 2026 at 22:36, Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:
>
> You should remove the braces in the "if" statement as they are now
> unnecessary. Also, the Fixes: tag is wrong; it should say:
>
> Fixes: f770fbec4165 ("USB: UDC: net2280: Fix memory leaks")
>
> The code before that commit was okay.
>
> Alan Stern
I will remove the now-unnecessary braces and update the Fixes tag to:
Fixes: f770fbec4165 ("USB: UDC: net2280: Fix memory leaks")
I will send a v2 shortly.
Best regards,
Guangshuo