]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: Fix illegal offset in UPIU event trace
authorJonathan Hsu <jonathan.hsu@mediatek.com>
Fri, 24 Sep 2021 08:58:48 +0000 (16:58 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 29 Sep 2021 02:37:40 +0000 (22:37 -0400)
commit0dc67a60faeff6d89dc4c42b02d2ac44ddaea43c
treee235abf7b061169c94bbdd094d7f1cfa5a72207b
parent6f5949f531c5c047958d385718d8736700327871
scsi: ufs: Fix illegal offset in UPIU event trace

Fix incorrect index for UTMRD reference in ufshcd_add_tm_upiu_trace().

Link: https://lore.kernel.org/r/20210924085848.25500-1-jonathan.hsu@mediatek.com
Fixes: 18115bc29147 ("scsi: ufs: core: Fix wrong Task Tag used in task management request UPIUs")
Cc: stable@vger.kernel.org
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jonathan Hsu <jonathan.hsu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c