Commit d424303d authored by Guixin Liu's avatar Guixin Liu Committed by Greg Kroah-Hartman
Browse files

scsi: mpi3mr: Use ida to manage mrioc ID



[ Upstream commit 29b75184 ]

To ensure that the same ID is not obtained during concurrent execution of
the probe, an ida is used to manage the mrioc's ID.

Signed-off-by: default avatarGuixin Liu <kanie@linux.alibaba.com>
Link: https://lore.kernel.org/r/20231229040331.52518-1-kanie@linux.alibaba.com


Reviewed-by: default avatarLee Duncan <lduncan@suse.com>
Reviewed-by: default avatarMartin Wilck <mwilck@suse.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
Stable-dep-of: 0d32014f ("scsi: mpi3mr: Start controller indexing from 0")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8d891c86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment