diff options
author | Johannes Thumshirn <[email protected]> | 2020-07-01 22:14:54 +0900 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2020-07-07 23:46:38 -0400 |
commit | 0fd181456aa0826057adbfb6c79c40f4083cfd75 (patch) | |
tree | a32ea34880208057a617949b59f4d0c1762b19f5 /scripts/gdb/linux/timerlist.py | |
parent | cb551b8dc079d2ef189145782627c99cb68c0255 (diff) |
scsi: mpt3sas: Fix error returns in BRM_status_show
BRM_status_show() has several error branches, but none of them record the
error in the error return.
Also while at it remove the manual mutex_unlock() of the pci_access_mutex
in case of an ongoing pci error recovery or host removal and jump to the
cleanup label instead.
Note: We can safely jump to out from here as io_unit_pg3 is initialized to
NULL and if it hasn't been allocated, kfree() skips the NULL pointer.
[mkp: compilation warning]
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Damien Le Moal <[email protected]>
Acked-by: Sreekanth Reddy <[email protected]>
Signed-off-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions