summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorweiping zhang <zhangweiping@didichuxing.com>2017-08-08 01:26:57 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-16 20:01:30 -0400
commit61f0c3c7a0fd37f252b0f23c237973ddf4c21ea7 (patch)
tree9b8706240ff53716a967fdeaf5fe3f20946a6d36 /tools/perf/scripts/python/call-graph-from-sql.py
parent424f727b94132a4193af401dd823c44612d1d59f (diff)
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/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions