Commit 6158e34
committed
ata: libata-core: improve tag checks in ata_qc_issue()
Make sure to check that the tag of a queued command is valid when
ata_qc_issue() is called, and fail the QC if the tag is not valid, or if
there is an on-going non-NCQ command already on the link.
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>1 parent 6de23f8 commit 6158e34
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5146 | 5146 | | |
5147 | 5147 | | |
5148 | 5148 | | |
5149 | | - | |
5150 | | - | |
| 5149 | + | |
| 5150 | + | |
| 5151 | + | |
| 5152 | + | |
| 5153 | + | |
| 5154 | + | |
| 5155 | + | |
5151 | 5156 | | |
5152 | 5157 | | |
5153 | 5158 | | |
| |||
0 commit comments