powerpc/82xx: kmalloc failure ignored in ep8248e_mdio_probe()
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 9 Sep 2009 14:49:57 +0000 (16:49 +0200)
committerKumar Gala <galak@kernel.crashing.org>
Thu, 5 Nov 2009 13:18:00 +0000 (07:18 -0600)
Prevent NULL dereference if kmalloc() fails. Also clean up if
of_mdiobus_register() returns an error.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

No differences found