[PATCH 1/2] scsi: ufs: core: Fix mcq tag calcualtion

Stanley Chu chu.stanley at gmail.com
Wed Feb 15 16:51:33 PST 2023


On Wed, Feb 15, 2023 at 8:38 PM Po-Wen Kao <powen.kao at mediatek.com> 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 at mediatek.com>

Reviewed-by: Stanley Chu <stanley.chu at mediatek.com>



More information about the linux-arm-kernel mailing list