linux/drivers/scsi/mpt3sas
Bart Van Assche 91b7bdb2c0 scsi: mpt3sas: Fix _transport_smp_handler() error path
This patch avoids that smatch complains about a double unlock on
ioc->transport_cmds.mutex.

Fixes: 651a013649 ("scsi: scsi_transport_sas: switch to bsg-lib for SMP passthrough")
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Sathya Prakash <sathya.prakash@broadcom.com>
Cc: Chaitra P B <chaitra.basappa@broadcom.com>
Cc: Suganath Prabu Subramani <suganath-prabu.subramani@broadcom.com>
Cc: stable@vger.kernel.org
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-06-19 22:02:25 -04:00
..
mpi scsi: mpt3sas: Update MPI Headers 2018-05-08 00:34:20 -04:00
Kconfig mpt3sas: fix Kconfig dependency problem for mpt2sas back compatibility 2015-12-03 09:31:23 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mpt3sas_base.c scsi: mpt3sas: Introduce struct mpt3sas_nvme_cmd 2018-06-19 22:02:25 -04:00
mpt3sas_base.h scsi: mpt3sas: Introduce struct mpt3sas_nvme_cmd 2018-06-19 22:02:25 -04:00
mpt3sas_config.c scsi: mpt3sas: Fix, False timeout prints for ioctl and other internal commands during controller reset. 2018-06-18 21:05:32 -04:00
mpt3sas_ctl.c scsi: mpt3sas: Annotate switch/case fall-through 2018-06-19 22:02:25 -04:00
mpt3sas_ctl.h scsi: mpt3sas: Increase event log buffer to support 24 port HBA's. 2018-05-08 00:34:20 -04:00
mpt3sas_debug.h mpt2sas, mpt3sas: Remove SCSI_MPTXSAS_LOGGING entry from Kconfig 2015-11-11 18:31:14 -05:00
mpt3sas_scsih.c scsi: mpt3sas: Annotate switch/case fall-through 2018-06-19 22:02:25 -04:00
mpt3sas_transport.c scsi: mpt3sas: Fix _transport_smp_handler() error path 2018-06-19 22:02:25 -04:00
mpt3sas_trigger_diag.c mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00
mpt3sas_trigger_diag.h mpt2sas, mpt3sas: Update attribution language to Avago 2015-01-13 16:27:27 +01:00
mpt3sas_warpdrive.c scsi: mpt3sas: Bug fix for big endian systems. 2018-05-08 00:34:19 -04:00