Thread (24 messages) 24 messages, 3 authors, 2016-05-09

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

From: Andrew Lunn <andrew@lunn.ch>
Date: 2016-05-09 12:07:45
Also in: linux-mediatek

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 <andrew@lunn.ch>
Signed-off-by: John Crispin <john@phrozen.org>
Thanks John

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

       Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help