Loading
[Backport]scsi: libsas: Add a helper sas_get_sas_addr_and_dev_type()
mainline inclusion from mainline-v6.8-rc1 commit a57345279fd311ba679b8083feb0eec5272c7729 category: cleanup bugzilla: https://gitee.com/openeuler/kernel/issues/IB18PN CVE: NA Reference: https://lore.kernel.org/r/20240307141413.48049-2-yangxingui@huawei.com ------------------------------------------------------------------ Add a helper to get attached_sas_addr and device type from disc_resp. Suggested-by:John Garry <john.g.garry@oracle.com> Signed-off-by:
Xingui Yang <yangxingui@huawei.com> Link: https://lore.kernel.org/r/20240307141413.48049-2-yangxingui@huawei.com Reviewed-by:
John Garry <john.g.garry@oracle.com> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by:
Slim6882 <yangjunshuo@huawei.com>