Skip to content
Commit 58459a4e authored by Roel Kluin's avatar Roel Kluin Committed by Kumar Gala
Browse files

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: default avatarRoel Kluin <roel.kluin@gmail.com>
Acked-by: default avatarScott Wood <scottwood@freescale.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent cb5485a0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment