summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2010-05-10 07:39:14 +0200
committerDavid S. Miller <davem@davemloft.net>2010-05-18 02:21:01 +0200
commit0e995cd3d3c78377a0bc7d38236fc50e5438fabb (patch)
tree5525fe8194257fb9a2d47d7b8d3bf4b4e80131c6 /lib
parentnetdev: bfin_mac: handle timeouts with the MDIO registers gracefully (diff)
downloadlinux-0e995cd3d3c78377a0bc7d38236fc50e5438fabb.tar.xz
linux-0e995cd3d3c78377a0bc7d38236fc50e5438fabb.zip
netdev: bfin_mac: check for mii_bus platform data
If the platform data for the mii_bus is missing, gracefully error out rather than deference NULL pointers. Signed-off-by: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions