diff options
author | Christoph Hellwig <hch@lst.de> | 2019-11-04 11:45:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-04 11:30:14 -0800 |
commit | 59511bcf33f95e2bcf1100e8fde31e2d4a15f3a0 (patch) | |
tree | 7a87577a722247063923b3d49cad263e64695e32 /drivers/atm/ambassador.h | |
parent | 4dd147471dae02e21db317fff02b7cf98694b22f (diff) |
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: ed870f6a7aa2 ("net: sgi: ioc3-eth: use dma-direct for dma allocations")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/ambassador.h')
0 files changed, 0 insertions, 0 deletions