RE: [PATCH v4 2/2] scsi: ufs: Fix wrong Task Tag used in task management request UPIUs
From: Daejun Park
Date: Thu Apr 01 2021 - 03:00:51 EST
Hi, Can Guo
> diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
...
>
> req->end_io_data = &wait;
> - free_slot = req->tag;
> WARN_ON_ONCE(free_slot < 0 || free_slot >= hba->nutmrs);
I think this line should be removed.
Thanks,
Daejun