diff options
author | Bart Van Assche <[email protected]> | 2023-07-24 13:08:29 -0700 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2023-07-25 21:34:35 -0400 |
commit | 2903265e27bfc6dea915dd9e17a1b2587f621f73 (patch) | |
tree | 0a757e1aeadfba1caee1c53aa454063247b3731a /tools/perf/scripts/python/task-analyzer.py | |
parent | 65aca38b8ce728bf5a449b74f2a6a344167dfb02 (diff) |
scsi: ufs: Fix residual handling
Only call scsi_set_resid() in case of an underflow. Do not call
scsi_set_resid() in case of an overflow.
Cc: Avri Altman <[email protected]>
Cc: Adrian Hunter <[email protected]>
Fixes: cb38845d90fc ("scsi: ufs: core: Set the residual byte count")
Signed-off-by: Bart Van Assche <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Avri Altman <[email protected]>
Reviewed-by: Adrian Hunter <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions