diff options
author | 2017-08-08 01:26:57 +0800 | |
---|---|---|
committer | 2017-08-16 20:01:30 -0400 | |
commit | 61f0c3c7a0fd37f252b0f23c237973ddf4c21ea7 (patch) | |
tree | 9b8706240ff53716a967fdeaf5fe3f20946a6d36 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scsi: ses: Fix wrong page error (diff) | |
download | linux-dev-61f0c3c7a0fd37f252b0f23c237973ddf4c21ea7.tar.xz linux-dev-61f0c3c7a0fd37f252b0f23c237973ddf4c21ea7.zip |
scsi: megaraid_sas: fix error handle in megasas_probe_one
megasas_mgmt_info.max_index has increased by 1 before megasas_io_attach,
if megasas_io_attach return error, then goto fail_io_attach,
megasas_mgmt_info.instance has a wrong index here. So first reduce
max_index and then set that instance to NULL.
Signed-off-by: weiping zhang <zhangweiping@didichuxing.com>
Acked-by: Sumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions