Skip to content

Commit 07ac6ad

Browse files
cp890582martinkpetersen
authored andcommitted
scsi: mpi3mr: Fetch correct device dev handle for status reply descriptor
The current dev handle for the status reply is 0xFFFF, which is invalid. So fetch the correct value. Co-developed-by: Sumit Saxena <sumit.saxena@broadcom.com> Signed-off-by: Sumit Saxena <sumit.saxena@broadcom.com> Signed-off-by: Chandrakanth patil <chandrakanth.patil@broadcom.com> Link: https://lore.kernel.org/r/20231126053134.10133-5-chandrakanth.patil@broadcom.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent f8fb3f3 commit 07ac6ad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/scsi/mpi3mr/mpi3mr_os.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3205,6 +3205,7 @@ void mpi3mr_process_op_reply_desc(struct mpi3mr_ioc *mrioc,
32053205
tg = stgt_priv_data->throttle_group;
32063206
throttle_enabled_dev =
32073207
stgt_priv_data->io_throttle_enabled;
3208+
dev_handle = stgt_priv_data->dev_handle;
32083209
}
32093210
}
32103211
if (unlikely((data_len_blks >= mrioc->io_throttle_data_length) &&

0 commit comments

Comments
 (0)