diff options
| author | Jason Yan <[email protected]> | 2018-01-04 21:04:32 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2018-01-08 21:42:26 -0500 |
| commit | 2b23d9509fd7174b362482cf5f3b5f9a2265bc33 (patch) | |
| tree | c23fe7669897a7d37cf8baba1a9a976a218276f6 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 4a491b1ab11ca0556d2fda1ff1301e862a2d44c4 (diff) | |
scsi: libsas: fix error when getting phy events
The intend purpose here was to goto out if smp_execute_task() returned
error. Obviously something got screwed up. We will never get these link
error statistics below:
~:/sys/class/sas_phy/phy-1:0:12 # cat invalid_dword_count
0
~:/sys/class/sas_phy/phy-1:0:12 # cat running_disparity_error_count
0
~:/sys/class/sas_phy/phy-1:0:12 # cat loss_of_dword_sync_count
0
~:/sys/class/sas_phy/phy-1:0:12 # cat phy_reset_problem_count
0
Obviously we should goto error handler if smp_execute_task() returns
non-zero.
Fixes: 2908d778ab3e ("[SCSI] aic94xx: new driver")
Signed-off-by: Jason Yan <[email protected]>
CC: John Garry <[email protected]>
CC: chenqilin <[email protected]>
CC: chenxiang <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions