diff options
author | Tyrel Datwyler <[email protected]> | 2023-09-21 17:54:28 -0500 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-09-21 22:14:20 -0400 |
commit | 670106eb4c8b23475f8c2b3416005a312afa622f (patch) | |
tree | 3878ea89b91e345fa2e40503217301bc33ec4747 /tools/perf/scripts/python/stackcollapse.py | |
parent | b27bce7291e688738c7ed47f300c877c11cef2dc (diff) |
scsi: ibmvfc: Fix erroneous use of rtas_busy_delay with hcall return code
Commit 0217a272fe13 ("scsi: ibmvfc: Store return code of H_FREE_SUB_CRQ
during cleanup") wrongly changed the busy loop check to use
rtas_busy_delay() instead of H_BUSY and H_IS_LONG_BUSY(). The busy return
codes for RTAS and hypercalls are not the same.
Fix this issue by restoring the use of H_BUSY and H_IS_LONG_BUSY().
Fixes: 0217a272fe13 ("scsi: ibmvfc: Store return code of H_FREE_SUB_CRQ during cleanup")
Signed-off-by: Tyrel Datwyler <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Brian King <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions