On Fri, 2023-12-29 at 12:03 +0800, Guixin Liu wrote: > 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: Guixin Liu <kanie@xxxxxxxxxxxxxxxxx> > --- > Changes from v1 to v2: > - change id from int to u8, and use ida_alloc_range instead of > ida_alloc. > > drivers/scsi/mpi3mr/mpi3mr_os.c | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > Reviewed-by: Martin Wilck <mwilck@xxxxxxxx>