aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorJohn Garry <[email protected]>2019-01-25 22:22:38 +0800
committerMartin K. Petersen <[email protected]>2019-01-29 01:41:20 -0500
commite1ba0b0b44512c5a209526c09ea3eb7d256b6951 (patch)
tree5fe44ac6f6602f214daf124a4b991acc2eb8ed8d /tools/perf/scripts/python/bin
parent26889e5ec87a0e4ef31ba2dc4f60933be0dbdffe (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