]> www.infradead.org Git - nvme.git/commit
scsi: ufs: core: Remove request tag range checks
authorBart Van Assche <bvanassche@acm.org>
Thu, 21 Sep 2023 19:22:46 +0000 (12:22 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 27 Sep 2023 15:12:50 +0000 (11:12 -0400)
commitcdaaff61d3bfd61aa3966eb1624e66c4152e6d1d
tree4071888d201e466f49f418d35b8fb36762d7f521
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d
scsi: ufs: core: Remove request tag range checks

The block layer core guarantees that tag numbers are in the expected
range. Hence remove the statements that check this. This patch suppresses
Coverity warnings about left shifts with a negative right hand operand.
The following commit originally introduced request tag range checks:
14497328b6a6 ("scsi: ufs: verify command tag validity").

Cc: daejun7.park@samsung.com
Cc: John Garry <john.g.garry@oracle.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230921192335.676924-2-bvanassche@acm.org
Reviewed-by: John Garry <john.g.garry@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c