aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTobias Klauser2015-12-14 13:51:51 +0100
committerDavid S. Miller2015-12-14 14:27:40 -0500
commit20b08e1a793d898f0f13040d5418ee0955f678cf (patch)
tree3e35b883fd2b52e4c93ca8b6e12e1bb88f4a646a /include
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 'include')
0 files changed, 0 insertions, 0 deletions