linux/drivers/misc/mic
Sudip Mukherjee ba1b5c44e2 misc: mic: return error properly
If request_firmware() succeeds then rc becomes 0. After that if the test
for strcmp() fails then we were jumping to label done: and returning rc.
But rc being 0 we returned success whereas we have failed here and we
were supposed to return an error.

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
..
bus misc: mic: Fix crash when MIC reset is invoked in RESET_FAILED state 2016-02-07 22:53:40 -08:00
card mic_virtio: fix a timeout loop 2016-02-07 22:53:40 -08:00
common misc: mic: Remove COSM functionality from the MIC card driver 2015-10-04 12:46:06 +01:00
cosm misc: mic: Fix crash when MIC reset is invoked in RESET_FAILED state 2016-02-07 22:53:40 -08:00
cosm_client misc: mic: COSM client driver 2015-10-04 12:46:06 +01:00
host misc: mic: return error properly 2016-02-07 22:53:40 -08:00
scif misc: mic: fix incorrect use of error codes in SCIF DMA driver 2016-02-07 21:25:50 -08:00
Kconfig misc: mic: Fix SCIF build failure with IOMMU_SUPPORT disabled 2015-10-05 04:37:28 +01:00
Makefile misc: mic: Update MIC host daemon with COSM changes 2015-10-04 12:54:54 +01:00