Skip to content
Commit a5734527 authored by Xingui Yang's avatar Xingui Yang Committed by Martin K. Petersen
Browse files

scsi: libsas: Add a helper sas_get_sas_addr_and_dev_type()



Add a helper to get attached_sas_addr and device type from disc_resp.

Suggested-by: default avatarJohn Garry <john.g.garry@oracle.com>
Signed-off-by: default avatarXingui Yang <yangxingui@huawei.com>
Link: https://lore.kernel.org/r/20240307141413.48049-2-yangxingui@huawei.com
Reviewed-by: default avatarJohn Garry <john.g.garry@oracle.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 99cfb212
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment