diff options
| author | John Garry <[email protected]> | 2019-01-25 22:22:38 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2019-01-29 01:41:20 -0500 |
| commit | e1ba0b0b44512c5a209526c09ea3eb7d256b6951 (patch) | |
| tree | 5fe44ac6f6602f214daf124a4b991acc2eb8ed8d /tools/perf/scripts/python/bin | |
| parent | 26889e5ec87a0e4ef31ba2dc4f60933be0dbdffe (diff) | |
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 <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions