Subject: Re: [PATCH V2 01/22] net-next: mediatek: use mdiobus_free() in favour of kfree()

From: Andrew Lunn <[email-masked]>
Date: Mon, 9 May 2016 14:07:35 +0200

On Mon, May 09, 2016 at 12:03:53PM +0200, John Crispin wrote:
> The driver currently uses kfree() to clear the mii_bus. This is not the
> correct way to clear the memory and mdiobus_free() should be used instead.
> This patch fixes the two instances where this happens in the driver.
> 
> Reported-by: Andrew Lunn <[email-masked]>
> Signed-off-by: John Crispin <[email-masked]>

Thanks John

Reviewed-by: Andrew Lunn <[email-masked]>

       Andrew