summaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorIgor Pylypiv <ipylypiv@google.com>2024-11-21 22:49:15 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2024-12-04 22:43:48 +0300
commit0f630c58e31afb3dc2373bc1126b555f4b480bb2 (patch)
treea8ae3a24b58d239a88dcc4c44a7b785b6b8b466d /lib/crypto/mpi/mpi-mod.c
parent841df27d619ee1f5ca6473e15227b39d6136562d (diff)
downloadlinux-0f630c58e31afb3dc2373bc1126b555f4b480bb2.tar.xz
scsi: pm80xx: Do not use libsas port ID
libsas port IDs can differ from the controller's port IDs. Using libsas port ID to index pm8001_ha->port array is a bug. Remove sas_find_local_port_id(). We can use pm8001_ha->phy[phy_id].port to get the port ID. Signed-off-by: Igor Pylypiv <ipylypiv@google.com> Signed-off-by: Terrence Adams <tadamsjr@google.com> Link: https://lore.kernel.org/r/20241121194915.3039073-1-tadamsjr@google.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/crypto/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions