summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlan <gnomes@lxorguk.ukuu.org.uk>2014-02-17 14:13:08 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-18 12:15:19 -0800
commita9f488831cb4e95d0c6464e2c68cf87cd75dfd87 (patch)
tree7a2c156eba60cf1e9aa2ec0fa31ba03bbbb9f887 /include/linux
parent53693d9068735ccb4a2c304f60c88e168895029d (diff)
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 <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions