diff options
author | Dan Williams <[email protected]> | 2012-03-20 10:50:27 -0700 |
---|---|---|
committer | James Bottomley <[email protected]> | 2012-04-23 12:14:09 +0100 |
commit | 7d1d865181185bdf1316d236b1b4bd02c9020729 (patch) | |
tree | 569edfa75a11f492750e80d3daf363c31f8dcb3d /tools/perf/util/trace-event-scripting.c | |
parent | b2024459252a9d2d312ee562f86f332a1498f412 (diff) |
[SCSI] libsas: fix false positive 'device attached' conditions
Normalize phy->attached_sas_addr to return a zero-address in the case
when device-type == NO_DEVICE or the linkrate is invalid to handle
expanders that put non-zero sas addresses in the discovery response:
sas: ex 5001b4da000f903f phy02:U:0 attached: 0100000000000000 (no device)
sas: ex 5001b4da000f903f phy01:U:0 attached: 0100000000000000 (no device)
sas: ex 5001b4da000f903f phy03:U:0 attached: 0100000000000000 (no device)
sas: ex 5001b4da000f903f phy00:U:0 attached: 0100000000000000 (no device)
Reported-by: Andrzej Jakowski <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Cc: [email protected]
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions