commit | 7ce97d4f78b62e3af24cdd4df953d777e7efb2f6 | [log] [tgz] |
---|---|---|
author | Anton Vorontsov <avorontsov@mvista.com> | Fri Apr 23 07:12:44 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 23 16:20:25 2010 -0700 |
tree | 00d6462333163e933875480371470975b45ad2e6 | |
parent | 3b1fd3e55a39824e68bc8dd055d14892476e3671 [diff] |
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>