Re: [PATCH net-next] net: phy: switch to lockdep_assert_held in phylib

2018-11-12 Thread Florian Fainelli
On 11/12/18 9:44 AM, Andrew Lunn wrote: > On Sun, Nov 11, 2018 at 10:33:08PM +0100, Heiner Kallweit wrote: >> diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c >> index 2e59a8419..5cb06f021 100644 >> --- a/drivers/net/phy/mdio_bus.c >> +++ b/drivers/net/phy/mdio_bus.c >> @@ -541,

Re: [PATCH net-next] net: phy: switch to lockdep_assert_held in phylib

2018-11-12 Thread Andrew Lunn
On Sun, Nov 11, 2018 at 10:33:08PM +0100, Heiner Kallweit wrote: > diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c > index 2e59a8419..5cb06f021 100644 > --- a/drivers/net/phy/mdio_bus.c > +++ b/drivers/net/phy/mdio_bus.c > @@ -541,7 +541,7 @@ int __mdiobus_read(struct mii_bus *

[PATCH net-next] net: phy: switch to lockdep_assert_held in phylib

2018-11-11 Thread Heiner Kallweit
These checks are relevant during development / testing only, therefore switch to lockdep_assert_held and friends. Signed-off-by: Heiner Kallweit --- drivers/net/phy/mdio_bus.c | 4 ++-- drivers/net/phy/phy.c| 2 +- drivers/net/phy/phy_device.c | 2 +- 3 files changed, 4 insertions(+),