summaryrefslogtreecommitdiff
path: root/net/switchdev
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-03-17 14:52:26 +0000
committerDavid S. Miller <davem@davemloft.net>2020-03-17 22:51:16 -0700
commit89e3e3ddcb6850d8208743e1c52a7a9dd38e5455 (patch)
tree2f2d8182334c29a3d71fe576d3cd370dd35144c6 /net/switchdev
parent54e1dc70dc6193385a5dbb7c93fc67ab16a4818d (diff)
net: mdiobus: avoid BUG_ON() in mdiobus accessors
Avoid using BUG_ON() in the mdiobus accessors, prefering instead to use WARN_ON_ONCE() and returning an error. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions