diff options
| author | Long Li <[email protected]> | 2016-12-14 18:46:03 -0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-01-05 00:21:11 -0500 |
| commit | 40630f462824ee24bc00d692865c86c3828094e0 (patch) | |
| tree | b6d7cfcd058de5a64c53ed9674786a64e264c719 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | bba5dc332ec2d3a685cb4dae668c793f6a3713a3 (diff) | |
scsi: storvsc: properly set residual data length on errors
On I/O errors, the Windows driver doesn't set data_transfer_length
on error conditions other than SRB_STATUS_DATA_OVERRUN.
In these cases we need to set data_transfer_length to 0,
indicating there is no data transferred. On SRB_STATUS_DATA_OVERRUN,
data_transfer_length is set by the Windows driver to the actual data transferred.
Reported-by: Shiva Krishna <[email protected]>
Signed-off-by: Long Li <[email protected]>
Reviewed-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: K. Y. Srinivasan <[email protected]>
Cc: <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions