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

David Miller davem at davemloft.net
Wed May 30 17:52:41 EDT 2012


From: Linus Walleij <linus.walleij at linaro.org>
Date: Wed, 30 May 2012 15:16:39 +0800

> 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>

Applied, thanks.



More information about the linux-arm-kernel mailing list