Skip to content
Commit d511040d authored by Xingui Yang's avatar Xingui Yang Committed by Greg Kroah-Hartman
Browse files

scsi: libsas: Add a helper sas_get_sas_addr_and_dev_type()



commit a5734527 upstream.

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>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8dbc1762
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment