Re: [PATCH] net: ethernet: Fix potential memory leak caused in error handling
From: Andrew Lunn
Date: Fri Jun 12 2020 - 16:47:05 EST
On Fri, Jun 12, 2020 at 03:06:54PM -0500, Aditya Pakki wrote:
> In ethoc_probe, a failure of mdiobus_register() does not release
> the memory allocated by mdiobus_alloc. The patch fixes this issue.
Hi Aditya
Please improve the Subject: line to indicate which driver you are
fixing.
A Fixes: tag would also be nice.
Andrew