Skip to content
Commit 59511bcf authored by Christoph Hellwig's avatar Christoph Hellwig Committed by David S. Miller
Browse files

net: sgi: ioc3-eth: fix usage of GFP_* flags



dma_alloc_coherent always zeroes memory, there is no need for
__GFP_ZERO.  Also doing a GFP_ATOMIC allocation just before a GFP_KERNEL
one is clearly bogus.

Fixes: ed870f6a ("net: sgi: ioc3-eth: use dma-direct for dma allocations")
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarThomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4dd14747
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