aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorPo-Wen Kao <[email protected]>2023-05-04 23:44:49 +0800
committerMartin K. Petersen <[email protected]>2023-05-16 21:07:26 -0400
commit5149452ca66289ef33d13897ee845a2f6f5b680f (patch)
tree9beee6860bbf639609a330dfa74e6d3ffb1f2354 /lib/mpi/mpi-mod.c
parent1a7edd041f2d252f251523ba3f2eaead076a8f8d (diff)
scsi: ufs: core: Fix MCQ tag calculation
The transfer command descriptor is allocated in ufshcd_memory_alloc() and referenced by the transfer request descriptor with stride size sizeof_utp_transfer_cmd_desc() instead of sizeof(struct utp_transfer_cmd_desc). Consequently, computing tag by address offset should also refer to the same stride. Signed-off-by: Po-Wen Kao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Bart Van Assche <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Reviewed-by: Stanley Chu <[email protected]> Reviewed-by: Ziqi Chen <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions