[PATCH 19/22] net/smsc911x: Repair broken failure paths

Linus Walleij linus.walleij at linaro.org
Wed May 30 03:16:39 EDT 2012


On Wed, May 30, 2012 at 12:47 PM, Lee Jones <lee.jones at linaro.org> wrote:

> Current failure paths attempt to free resources which we failed to request
> and disable resources which we failed to enable ones. This leads to kernel
> oops/panic. This patch does some simple re-ordering to prevent this from
> happening.
>
> Cc: netdev at vger.kernel.org
> Signed-off-by: Lee Jones <lee.jones at linaro.org>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

Thanks,
Linus Walleij



More information about the linux-arm-kernel mailing list