Commit 07ac6add authored by Chandrakanth patil's avatar Chandrakanth patil Committed by Martin K. Petersen

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: default avatarSumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: default avatarSumit Saxena <sumit.saxena@broadcom.com>
Signed-off-by: default avatarChandrakanth patil <chandrakanth.patil@broadcom.com>
Link: https://lore.kernel.org/r/20231126053134.10133-5-chandrakanth.patil@broadcom.comSigned-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent f8fb3f39
...@@ -3205,6 +3205,7 @@ void mpi3mr_process_op_reply_desc(struct mpi3mr_ioc *mrioc, ...@@ -3205,6 +3205,7 @@ void mpi3mr_process_op_reply_desc(struct mpi3mr_ioc *mrioc,
tg = stgt_priv_data->throttle_group; tg = stgt_priv_data->throttle_group;
throttle_enabled_dev = throttle_enabled_dev =
stgt_priv_data->io_throttle_enabled; stgt_priv_data->io_throttle_enabled;
dev_handle = stgt_priv_data->dev_handle;
} }
} }
if (unlikely((data_len_blks >= mrioc->io_throttle_data_length) && if (unlikely((data_len_blks >= mrioc->io_throttle_data_length) &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment