summaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/cpm_common.c
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-09-09 16:49:57 +0200
committerKumar Gala <galak@kernel.crashing.org>2009-11-05 07:18:00 -0600
commit58459a4e19e107d793a58a46780def2cea12a391 (patch)
treeb4bb42dd78b291debf72a2c3f8780d700e80915c /arch/powerpc/sysdev/cpm_common.c
parentcb5485a0b99b232c5c7c4c21e2346f8ab7ef555d (diff)
powerpc/82xx: kmalloc failure ignored in ep8248e_mdio_probe()
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>
Diffstat (limited to 'arch/powerpc/sysdev/cpm_common.c')
0 files changed, 0 insertions, 0 deletions