aboutsummaryrefslogtreecommitdiffstats
path: root/net/decnet
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/decnet
parentopenvswitch: fix trivial comment typo (diff)
downloadlinux-dev-20b08e1a793d898f0f13040d5418ee0955f678cf.tar.xz
linux-dev-20b08e1a793d898f0f13040d5418ee0955f678cf.zip
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/decnet')
0 files changed, 0 insertions, 0 deletions