From: Alexey Khoroshilov Date: Tue, 25 Sep 2012 12:56:02 +0000 (+0400) Subject: staging: sbe-2t3e3: fix error handling in t3e3_init_channel() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c229df0b19cda41a8ea93f26497374004299fda;p=pandora-kernel.git staging: sbe-2t3e3: fix error handling in t3e3_init_channel() t3e3_init_channel() incorrectly handles errors in several places: it returns zero and does not deallocate all required resources. The patch fixes that places. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Reviewed-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed