linux/drivers/misc/mic/host
Sudip Mukherjee 5fb437984b 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>
2016-02-07 22:53:40 -08:00
..
Makefile misc: mic: Remove COSM functionality from the MIC host driver 2015-10-04 12:46:06 +01:00
mic_boot.c misc: mic: Remove COSM functionality from the MIC host driver 2015-10-04 12:46:06 +01:00
mic_debugfs.c misc: mic: Remove COSM functionality from the MIC host driver 2015-10-04 12:46:06 +01:00
mic_device.h misc: mic: Remove COSM functionality from the MIC host driver 2015-10-04 12:46:06 +01:00
mic_fops.c misc: mic: Remove COSM functionality from the MIC host driver 2015-10-04 12:46:06 +01:00
mic_fops.h
mic_intr.c misc: mic: Remove COSM functionality from the MIC host driver 2015-10-04 12:46:06 +01:00
mic_intr.h misc: mic: MIC host driver specific changes to enable SCIF 2015-05-24 12:13:37 -07:00
mic_main.c misc: mic: Remove COSM functionality from the MIC host driver 2015-10-04 12:46:06 +01:00
mic_smpt.c misc: mic: Remove COSM functionality from the MIC host driver 2015-10-04 12:46:06 +01:00
mic_smpt.h misc: mic: MIC host driver specific changes to enable SCIF 2015-05-24 12:13:37 -07:00
mic_virtio.c misc: mic: Remove COSM functionality from the MIC host driver 2015-10-04 12:46:06 +01:00
mic_virtio.h misc: mic: Remove COSM functionality from the MIC host driver 2015-10-04 12:46:06 +01:00
mic_x100.c misc: mic: use common error path 2016-02-07 22:53:40 -08:00
mic_x100.h