Loading
scsi: libsas: Add a helper sas_get_sas_addr_and_dev_type()
mainline inclusion from mainline-v6.9-rc2 commit a57345279fd311ba679b8083feb0eec5272c7729 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I96KNQ CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a57345279fd311ba679b8083feb0eec5272c7729 ---------------------------------------------------------------------- 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:
Bing Xia <xiabing12@h-partners.com>