dma-mapping: fix flags in dma_alloc_wc
authorChristoph Hellwig <hch@lst.de>
Sat, 22 Dec 2018 08:21:08 +0000 (09:21 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 22 Dec 2018 16:46:27 +0000 (08:46 -0800)
commit0cd60eb1a7b5421e92a3489e1829bfb2243e21e1
tree13e687e84af384b541a2f12fe0856c2a5107e6a7
parent23203e3f34c97f4ddd6e353adba45161880a52a4
dma-mapping: fix flags in dma_alloc_wc

We really need the writecombine flag in dma_alloc_wc, fix a stupid
oversight.

Fixes: 7ed1d91a9e ("dma-mapping: translate __GFP_NOFAIL to DMA_ATTR_NO_WARN")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/dma-mapping.h