[PATCH] 82xx: kmalloc failure ignored in ep8248e_mdio_probe()

Kumar Gala kumar.gala at freescale.com
Fri Sep 25 04:19:38 EST 2009


On Sep 9, 2009, at 7:49 AM, Roel Kluin wrote:

> Prevent NULL dereference if kmalloc() fails. Also clean up if
> of_mdiobus_register() returns an error.
>
> Signed-off-by: Roel Kluin <roel.kluin at gmail.com>
> ---
> Found with sed: http://kernelnewbies.org/roelkluin
>
> Please review.

applied to merge

- k


More information about the Linuxppc-dev mailing list