diff options
| author | Reimar Döffinger <[email protected]> | 2021-10-12 06:27:49 +0000 |
|---|---|---|
| committer | Damien Le Moal <[email protected]> | 2021-10-12 08:47:02 +0000 |
| commit | 1af5f7af2484004e71d384d8b88c221fc62cd6b5 (patch) | |
| tree | 28e4ef1cd856f26251fa38e8c68fb823db3431e1 /scripts/gcc-plugins/structleak_plugin.c | |
| parent | pata_optidma: fix checking of DMA state (diff) | |
| download | kernel-1af5f7af2484004e71d384d8b88c221fc62cd6b5.tar.gz kernel-1af5f7af2484004e71d384d8b88c221fc62cd6b5.zip | |
pata_radisys: 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/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions
