summaryrefslogtreecommitdiff
path: root/drivers/net/sunlance.c
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@mvista.com>2010-04-23 11:12:44 +0400
committerDavid S. Miller <davem@davemloft.net>2010-04-24 03:20:25 +0400
commit7ce97d4f78b62e3af24cdd4df953d777e7efb2f6 (patch)
tree00d6462333163e933875480371470975b45ad2e6 /drivers/net/sunlance.c
parent3b1fd3e55a39824e68bc8dd055d14892476e3671 (diff)
downloadlinux-7ce97d4f78b62e3af24cdd4df953d777e7efb2f6.tar.xz
gianfar: Fix potential oops during OF address translation
gianfar driver may pass NULL pointer to the of_translate_address(), which may lead to a kernel oops. Fix this by using of_iomap(), which is also much simpler and shorter. Signed-off-by: Anton Vorontsov <avorontsov@mvista.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sunlance.c')
0 files changed, 0 insertions, 0 deletions