diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-09-09 16:49:57 +0200 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-11-05 07:18:00 -0600 |
commit | 58459a4e19e107d793a58a46780def2cea12a391 (patch) | |
tree | b4bb42dd78b291debf72a2c3f8780d700e80915c /arch/arm/plat-iop/i2c.c | |
parent | cb5485a0b99b232c5c7c4c21e2346f8ab7ef555d (diff) | |
download | talos-op-linux-58459a4e19e107d793a58a46780def2cea12a391.tar.gz talos-op-linux-58459a4e19e107d793a58a46780def2cea12a391.zip |
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/arm/plat-iop/i2c.c')
0 files changed, 0 insertions, 0 deletions