aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpi3mr/mpi3mr_os.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-12-12 14:49:35 +0100
committerTakashi Iwai <tiwai@suse.de>2024-12-12 14:49:35 +0100
commit7b26bc6582b13a52a42a4a9765e8f30d58a81198 (patch)
tree80737d9bb4abf42b8e2061a5edacdfbe5ac9b7d6 /drivers/scsi/mpi3mr/mpi3mr_os.c
parentb2e538a9827dd04ab5273bf4be8eb2edb84357b0 (diff)
parent255cc582e6e16191a20d54bcdbca6c91d3e90c5e (diff)
downloadlinux-7b26bc6582b13a52a42a4a9765e8f30d58a81198.tar.gz
linux-7b26bc6582b13a52a42a4a9765e8f30d58a81198.tar.bz2
linux-7b26bc6582b13a52a42a4a9765e8f30d58a81198.zip
Merge tag 'asoc-fix-v6.12-rc2' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v6.13 A small pile of driver specific fixes, all quite small and not particularly major.
Diffstat (limited to 'drivers/scsi/mpi3mr/mpi3mr_os.c')
-rw-r--r--drivers/scsi/mpi3mr/mpi3mr_os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/mpi3mr/mpi3mr_os.c b/drivers/scsi/mpi3mr/mpi3mr_os.c
index 5f2f67acf8bf..1bef88130d0c 100644
--- a/drivers/scsi/mpi3mr/mpi3mr_os.c
+++ b/drivers/scsi/mpi3mr/mpi3mr_os.c
@@ -5215,7 +5215,7 @@ mpi3mr_probe(struct pci_dev *pdev, const struct pci_device_id *id)
}
mrioc = shost_priv(shost);
- retval = ida_alloc_range(&mrioc_ida, 1, U8_MAX, GFP_KERNEL);
+ retval = ida_alloc_range(&mrioc_ida, 0, U8_MAX, GFP_KERNEL);
if (retval < 0)
goto id_alloc_failed;
mrioc->id = (u8)retval;