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

Scott Wood scottwood at freescale.com
Thu Sep 10 04:46:56 EST 2009


On Wed, Sep 09, 2009 at 04:49:57PM +0200, 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>

Acked-by: Scott Wood <scottwood at freescale.com>

-Scott


More information about the Linuxppc-dev mailing list