diff options
| author | John Garry <john.garry@huawei.com> | 2017-03-23 01:25:22 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-03-23 11:12:01 -0400 |
| commit | ddabca216c7fb1af8e4edde9fc981992e26e50fc (patch) | |
| tree | fdc780878bf6863bfbbeb2ee4592c0491d34fccb /tools/perf/scripts/python/bin | |
| parent | 405314df566c6168715413db682adeba297fd684 (diff) | |
| download | linux-ddabca216c7fb1af8e4edde9fc981992e26e50fc.tar.gz linux-ddabca216c7fb1af8e4edde9fc981992e26e50fc.zip | |
scsi: hisi_sas: error hisi_sas_task_prep() when port down
When sas_port is NULL, then return SAS_PHY_DOWN.
In addition, when the sas_dev is gone then explicitly return
SAS_PHY_DOWN.
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
