From: Alexey Khoroshilov Date: Fri, 7 Mar 2014 21:11:49 +0000 (+0400) Subject: p54usb: fix leaks at failure path in p54u_probe() X-Git-Tag: v3.15-rc1~113^2~93^2^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5335e00f30ef69f093e5074ecf8ef5e778baf3b;p=pandora-kernel.git p54usb: fix leaks at failure path in p54u_probe() If p54u_load_firmware() fails, p54u_probe() does not deallocate already allocated resources. The patch adds proper failure handling. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Acked-by: Christian Lamparter Signed-off-by: John W. Linville --- Reading git-diff-tree failed