diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-12-15 16:09:47 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-18 14:57:48 -0500 |
commit | 8b874514c11d6fcf9a92289255bc9c093d1ec706 (patch) | |
tree | 82f1b95dcc29f9a6f9dea655dd5d29962e4ace4c /drivers/net/appletalk | |
parent | 2794ffc441dde3109804085dc745e8014a4de224 (diff) | |
download | linux-8b874514c11d6fcf9a92289255bc9c093d1ec706.tar.bz2 |
phylink: fix locking asserts
Use ASSERT_RTNL() rather than WARN_ON(!lockdep_rtnl_is_held()) which
stops working when lockdep fires, and we end up with lots of warnings.
Fixes: 9525ae83959b ("phylink: add phylink infrastructure")
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/appletalk')
0 files changed, 0 insertions, 0 deletions