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> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| mic_boot.c | ||
| mic_debugfs.c | ||
| mic_device.h | ||
| mic_fops.c | ||
| mic_fops.h | ||
| mic_intr.c | ||
| mic_intr.h | ||
| mic_main.c | ||
| mic_smpt.c | ||
| mic_smpt.h | ||
| mic_virtio.c | ||
| mic_virtio.h | ||
| mic_x100.c | ||
| mic_x100.h | ||