summaryrefslogtreecommitdiff
path: root/drivers/firewire
diff options
context:
space:
mode:
authorLuo Jiaxing <luojiaxing@huawei.com>2018-09-24 23:06:29 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2018-10-16 00:27:04 -0400
commit1668e3b6f8f8ed2ce685691c92b90dfadeaa3f2f (patch)
tree7e7377c370dabeb8c0afbeedbd981991820deec0 /drivers/firewire
parent5a54691f874ab29ec82f08bc6936866a3ccdaa91 (diff)
scsi: hisi_sas: Move evaluation of hisi_hba in hisi_sas_task_prep()
In evaluating hisi_hba, the sas_port may be NULL, so for safety relocate the the check to value possible NULL deference. Signed-off-by: Luo Jiaxing <luojiaxing@huawei.com> Signed-off-by: John Garry <john.garry@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/firewire')
0 files changed, 0 insertions, 0 deletions