diff options
author | Xiaofei Tan <[email protected]> | 2018-05-21 18:09:24 +0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2018-05-28 22:40:32 -0400 |
commit | d87e72fb4fda6c48909e870811ae5252d0520f99 (patch) | |
tree | 3375c927c0d55afd31aa2f492ec9adab1ed2f422 /tools/perf/scripts/python | |
parent | 31709548d2aca9861a72e2890d62fc87c52199de (diff) |
scsi: hisi_sas: Fix return value when get_free_slot() failed
It is an step of executing task to get free slot. If the step fails, we
will cleanup LLDD resources and should return failure to upper layer or
internal caller to abort task execution of this time.
But in the current code, the caller of get_free_slot() doesn't return
failure when get_free_slot() failed. This patch is to fix it.
Signed-off-by: Xiaofei Tan <[email protected]>
Signed-off-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions