diff options
| author | John Garry <john.garry@huawei.com> | 2019-01-25 22:22:38 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-01-29 01:41:20 -0500 |
| commit | e1ba0b0b44512c5a209526c09ea3eb7d256b6951 (patch) | |
| tree | 5fe44ac6f6602f214daf124a4b991acc2eb8ed8d /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 26889e5ec87a0e4ef31ba2dc4f60933be0dbdffe (diff) | |
| download | linux-e1ba0b0b44512c5a209526c09ea3eb7d256b6951.tar.gz linux-e1ba0b0b44512c5a209526c09ea3eb7d256b6951.zip | |
scsi: hisi_sas: Fix to only call scsi_get_prot_op() for non-NULL scsi_cmnd
A NULL-pointer dereference was introduced for TMF SSP commands from the
upstreaming reworking.
Fix this by relocating the scsi_get_prot_op() callsite.
Fixes: d6a9000b81be ("scsi: hisi_sas: Add support for DIF feature for v2 hw")
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
