diff options
author | Christoph Hellwig <hch@lst.de> | 2017-04-23 10:33:23 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-04-24 23:59:50 +0200 |
commit | 91402608641823fdfd8e18042f20c1a449108514 (patch) | |
tree | 31081e8e35bfd844e2b0860064bbbbf8191cd19b /scripts/gcc-plugins/Makefile | |
parent | scsi: sas: move scsi_remove_host call into sas_remove_host (diff) | |
download | linux-91402608641823fdfd8e18042f20c1a449108514.tar.xz linux-91402608641823fdfd8e18042f20c1a449108514.zip |
scsi: pmcraid: fix lock imbalance in pmcraid_reset_reload()
sparse found a bug that has always been present since the driver was
merged:
drivers/scsi/pmcraid.c:2353:12: warning: context imbalance in 'pmcraid_reset_reload' - different lock contexts for basic block
Fix this by using a common unlock goto label, and also reduce the
indentation level in the function.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'scripts/gcc-plugins/Makefile')
0 files changed, 0 insertions, 0 deletions