[PATCH 2/2] gianfar: Fix potential oops during OF address translation

David Miller davem at davemloft.net
Sat Apr 24 09:20:48 EST 2010


From: Anton Vorontsov <avorontsov at mvista.com>
Date: Fri, 23 Apr 2010 21:12:44 +0400

> 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 at mvista.com>

Also applied to net-2.6, thanks.


More information about the Linuxppc-dev mailing list