From: Alexey Khoroshilov Date: Tue, 17 Sep 2013 20:57:59 +0000 (+0400) Subject: p54usb: fix leak at failure path in p54u_load_firmware() X-Git-Tag: v3.12-rc4~30^2~39^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e78641c19de7a3b77b5d840aff239c6648983099;p=pandora-kernel.git p54usb: fix leak at failure path in p54u_load_firmware() If request_firmware_nowait() fails in p54u_load_firmware(), p54u_load_firmware_cb is not called and no one decrements usb_dev refcnt. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov Signed-off-by: John W. Linville --- Reading git-diff-tree failed