]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: libsas: Add a helper sas_get_sas_addr_and_dev_type()
authorXingui Yang <yangxingui@huawei.com>
Thu, 7 Mar 2024 14:14:12 +0000 (14:14 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Apr 2024 13:29:03 +0000 (15:29 +0200)
commitf23db75792831f6dc4e057dab35a8c8f51b45dd7
tree965f57067b55f8f1e6d9117ec545c7802df9b860
parent76edb986c44bad31eab573671c067379d2b493ea
scsi: libsas: Add a helper sas_get_sas_addr_and_dev_type()

commit a57345279fd311ba679b8083feb0eec5272c7729 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>
drivers/scsi/libsas/sas_expander.c