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> |
||
|---|---|---|
| .. | ||
| ep8248e.c | ||
| Kconfig | ||
| m82xx_pci.h | ||
| Makefile | ||
| mgcoge.c | ||
| mpc8272_ads.c | ||
| pq2.c | ||
| pq2.h | ||
| pq2ads-pci-pic.c | ||
| pq2ads.h | ||
| pq2fads.c | ||