From: Dan Carpenter <error27@xxxxxxxxx> Date: Tue, 24 Aug 2010 18:53:33 +0200 > A couple issues here: > * Some resources weren't released. > * If alloc_etherdev() failed it would have caused a NULL dereference > because "pep" would be null when we checked "if (pep->clk)". > * Also it's better to propagate the error codes from mdiobus_register() > instead of just returning -ENOMEM. > > Signed-off-by: Dan Carpenter <error27@xxxxxxxxx> Applied. -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html