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: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:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment