diff options
author | John Garry <john.garry@huawei.com> | 2022-01-31 19:13:27 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2022-01-31 16:50:59 -0500 |
commit | c763ec4c10f78678d6d4415646237f07109a5a5f (patch) | |
tree | 6d386dbf0a3d832297717d0bdf153fc11fcd3eb0 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | df7abcaa1246e2537ab4016077b5443bb3c09378 (diff) |
scsi: hisi_sas: Fix setting of hisi_sas_slot.is_internal
The hisi_sas_slot.is_internal member is not set properly for ATA commands
which the driver sends directly. A TMF struct pointer is normally used as a
test to set this, but it is NULL for those commands. It's not ideal, but
pass an empty TMF struct to set that member properly.
Link: https://lore.kernel.org/r/1643627607-138785-1-git-send-email-john.garry@huawei.com
Fixes: dc313f6b125b ("scsi: hisi_sas: Factor out task prep and delivery code")
Reported-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions