Re: [PATCH net-next 4/8] net: dsa: mv88e6xxx: do not increment bus refcount

From: Andrew Lunn
Date: Wed Jun 08 2016 - 22:36:47 EST


On Wed, Jun 08, 2016 at 08:44:52PM -0400, Vivien Didelot wrote:
> The MDIO device probe and remove functions are respectively incrementing
> and decrementing the bus refcount themselves. Since these bus level
> actions are out of the device scope, remove them.

I agree with the patch. But have you checked the mdio layer is doing
the right thing? If not, we should fix that first.

Andrew