summaryrefslogtreecommitdiffstats
path: root/scripts/ver_linux
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-11-23 12:54:32 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-08 07:53:40 +0100
commit5fb437984b6c4793626be3936297fecece987a9f (patch)
tree4b62d02e635409ed584b6a3875cc6814801629fa /scripts/ver_linux
parentmisc: mic: return error directly (diff)
downloadlinux-5fb437984b6c4793626be3936297fecece987a9f.tar.xz
linux-5fb437984b6c4793626be3936297fecece987a9f.zip
misc: mic: use common error path
Instead of calling release_firmware() on every error and then jumping lets have a common release_firmware() in the error path. This patch also fixes a memory leak where we missed release_firmware() if mic_x100_load_command_line() fails. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Reviewed-by: Sudeep Dutt <sudeep.dutt@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/ver_linux')
0 files changed, 0 insertions, 0 deletions