diff options
author | Christoph Hellwig <[email protected]> | 2019-11-04 11:45:12 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-11-04 11:30:14 -0800 |
commit | 59511bcf33f95e2bcf1100e8fde31e2d4a15f3a0 (patch) | |
tree | 7a87577a722247063923b3d49cad263e64695e32 /tools/perf/scripts/python/mem-phys-addr.py | |
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 <[email protected]>
Signed-off-by: Thomas Bogendoerfer <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions