diff options
| author | Reimar Döffinger <[email protected]> | 2021-10-12 06:27:45 +0000 |
|---|---|---|
| committer | Damien Le Moal <[email protected]> | 2021-10-12 08:46:48 +0000 |
| commit | 6ac586f2e71692b46affc064cc69b8df416fe95c (patch) | |
| tree | 00d1db5bdef999050b6ccb68974fd41323124267 /scripts/gcc-plugins | |
| parent | libata: fix checking of DMA state (diff) | |
| download | kernel-6ac586f2e71692b46affc064cc69b8df416fe95c.tar.gz kernel-6ac586f2e71692b46affc064cc69b8df416fe95c.zip | |
libata-scsi: fix checking of DMA state
Checking if DMA is enabled should be done via the
ata_dma_enabled helper function, since the init state
0xff indicates disabled.
Change based on code review, not tested due to lack of hardware.
Signed-off-by: Reimar Döffinger <[email protected]>
Signed-off-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions
