diff options
| author | Luo Jiaxing <[email protected]> | 2018-09-24 23:06:29 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2018-10-16 00:27:04 -0400 |
| commit | 1668e3b6f8f8ed2ce685691c92b90dfadeaa3f2f (patch) | |
| tree | 7e7377c370dabeb8c0afbeedbd981991820deec0 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 5a54691f874ab29ec82f08bc6936866a3ccdaa91 (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 <[email protected]>
Signed-off-by: John Garry <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions