From: Anton Vorontsov Date: Fri, 23 Apr 2010 07:12:44 +0000 (+0000) Subject: gianfar: Fix potential oops during OF address translation X-Git-Tag: v2.6.34-rc6~33^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ce97d4f78b62e3af24cdd4df953d777e7efb2f6;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed