Commit cdaaff6
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:
1449732 ("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>1 parent 0bb80ec commit cdaaff6
1 file changed
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2822 | 2822 | | |
2823 | 2823 | | |
2824 | 2824 | | |
2825 | | - | |
2826 | | - | |
2827 | 2825 | | |
2828 | 2826 | | |
2829 | 2827 | | |
| |||
6923 | 6921 | | |
6924 | 6922 | | |
6925 | 6923 | | |
6926 | | - | |
6927 | | - | |
6928 | 6924 | | |
6929 | 6925 | | |
6930 | 6926 | | |
| |||
7498 | 7494 | | |
7499 | 7495 | | |
7500 | 7496 | | |
7501 | | - | |
7502 | | - | |
7503 | 7497 | | |
7504 | 7498 | | |
7505 | 7499 | | |
| |||
0 commit comments