summaryrefslogtreecommitdiff
path: root/net/ipv4
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-12-14 13:51:51 +0100
committerDavid S. Miller <davem@davemloft.net>2015-12-14 14:27:40 -0500
commit20b08e1a793d898f0f13040d5418ee0955f678cf (patch)
tree3e35b883fd2b52e4c93ca8b6e12e1bb88f4a646a /net/ipv4
parente5f5d74747afa799bff109644be04b00af36043e (diff)
net: phy: mdio-mux: Check return value of mdiobus_alloc()
mdiobus_alloc() might return NULL, but its return value is not checked in mdio_mux_init(). This could potentially lead to a NULL pointer dereference. Fix it by checking the return value Fixes: 0ca2997d1452 ("netdev/of/phy: Add MDIO bus multiplexer support.") Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions