Skip to content
Commit f718c2ef authored by Vineet Gupta's avatar Vineet Gupta
Browse files

ARC: Don't memzero twice in dma_alloc_coherent for __GFP_ZERO



alloc_pages_exact() get gfp flags and handle zero'ing already

And while it, fix the case where ioremap fails: return rightaway.

Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 97709069
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment