Re: [PATCH 1/2] scsi: ufs: core: Fix mcq tag calcualtion
From: Stanley Chu
Date: Wed Feb 15 2023 - 19:51:55 EST
On Wed, Feb 15, 2023 at 8:38 PM Po-Wen Kao <powen.kao@xxxxxxxxxxxx> wrote:
>
> Transfer command descriptor is allocated in ufshcd_memory_alloc()
> and referenced by 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 <powen.kao@xxxxxxxxxxxx>
Reviewed-by: Stanley Chu <stanley.chu@xxxxxxxxxxxx>