From: Alan Date: Mon, 17 Feb 2014 14:13:08 +0000 (+0000) Subject: staging: et131x: fix allocation failures X-Git-Tag: v3.15-rc1~139^2~929 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9f488831cb4e95d0c6464e2c68cf87cd75dfd87;p=pandora-kernel.git staging: et131x: fix allocation failures We should check the ring allocations don't fail. If we get a fail we need to clean up properly. The allocator assumes the deallocator will be used on failure, but it isn't. Make sure the right deallocator is always called and add a missing check against fbr allocation failure. [v2]: Correct check logic Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed