diff options
author | Luo Jiaxing <luojiaxing@huawei.com> | 2018-09-24 23:06:29 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-10-16 00:27:04 -0400 |
commit | 1668e3b6f8f8ed2ce685691c92b90dfadeaa3f2f (patch) | |
tree | 7e7377c370dabeb8c0afbeedbd981991820deec0 /tools/gpio | |
parent | 5a54691f874ab29ec82f08bc6936866a3ccdaa91 (diff) | |
download | linux-1668e3b6f8f8ed2ce685691c92b90dfadeaa3f2f.tar.gz linux-1668e3b6f8f8ed2ce685691c92b90dfadeaa3f2f.tar.bz2 linux-1668e3b6f8f8ed2ce685691c92b90dfadeaa3f2f.zip |
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 'tools/gpio')
0 files changed, 0 insertions, 0 deletions