linux-sg2042/drivers/scsi/esas2r
Dan Carpenter 906ca6353a scsi: esas2r: unlock on error in esas2r_nvram_read_direct()
This error path is missing an unlock.

Fixes: 26780d9e12 ("[SCSI] esas2r: ATTO Technology ExpressSAS 6G SAS/SATA RAID Adapter Driver")
Link: https://lore.kernel.org/r/20191022102324.GA27540@mwanda
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2019-10-24 21:17:16 -04:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
atioctl.h
atvda.h
esas2r.h scsi: ata: Use unsigned int for cmd's type in ioctls in scsi_host_template 2019-02-08 17:33:00 -05:00
esas2r_disc.c [SCSI] esas2r: Directly call kernel functions for atomic bit operations 2013-10-25 09:58:59 +01:00
esas2r_flash.c scsi: esas2r: unlock on error in esas2r_nvram_read_direct() 2019-10-24 21:17:16 -04:00
esas2r_init.c scsi: esas2r: Prefer pcie_capability_read_word() 2019-08-12 22:04:06 -04:00
esas2r_int.c [SCSI] esas2r: Directly call kernel functions for atomic bit operations 2013-10-25 09:58:59 +01:00
esas2r_io.c [SCSI] esas2r: Directly call kernel functions for atomic bit operations 2013-10-25 09:58:59 +01:00
esas2r_ioctl.c scsi: esas2r: Prefer pcie_capability_read_word() 2019-08-12 22:04:06 -04:00
esas2r_log.c scsi: esas2r: Remove redundant NULL check on buffer 2017-03-16 19:49:45 -04:00
esas2r_log.h scsi: esas2r: Fix format string type mistakes 2017-01-09 23:52:26 -05:00
esas2r_main.c scsi: ata: Use unsigned int for cmd's type in ioctls in scsi_host_template 2019-02-08 17:33:00 -05:00
esas2r_targdb.c [SCSI] esas2r: Directly call kernel functions for atomic bit operations 2013-10-25 09:58:59 +01:00
esas2r_vda.c [SCSI] esas2r: Cleanup snprinf formatting of firmware version 2013-10-25 09:58:59 +01:00