aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-generate-rtl-pass.h
diff options
context:
space:
mode:
authorReimar Döffinger <[email protected]>2021-10-12 06:27:48 +0000
committerDamien Le Moal <[email protected]>2021-10-12 08:46:59 +0000
commit492402ce70777b2f83dd61613c8e341a36ba3cd1 (patch)
tree11e54f6554be836daa7c549218ff7105344ce032 /scripts/gcc-plugins/gcc-generate-rtl-pass.h
parentpata_amd: fix checking of DMA state (diff)
downloadkernel-492402ce70777b2f83dd61613c8e341a36ba3cd1.tar.gz
kernel-492402ce70777b2f83dd61613c8e341a36ba3cd1.zip
pata_optidma: 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/gcc-generate-rtl-pass.h')
0 files changed, 0 insertions, 0 deletions