From: Daniel Hellstrom Date: Wed, 10 Sep 2014 12:17:52 +0000 (+0200) Subject: sparc32: dma_alloc_coherent must honour gfp flags X-Git-Tag: fixes-against-v3.18-rc2~116^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1105287aabe88dbb3af825140badaa05cf0442c;p=pandora-kernel.git sparc32: dma_alloc_coherent must honour gfp flags dma_zalloc_coherent() calls dma_alloc_coherent(__GFP_ZERO) but the sparc32 implementations sbus_alloc_coherent() and pci32_alloc_coherent() doesn't take the gfp flags into account. Tested on the SPARC32/LEON GRETH Ethernet driver which fails due to dma_alloc_coherent(__GFP_ZERO) returns non zeroed pages. Signed-off-by: Daniel Hellstrom Signed-off-by: David S. Miller --- Reading git-diff-tree failed