On 09/10/2014 11:03 PM, David Miller wrote:
From: Daniel Hellstrom<daniel@xxxxxxxxxxx>
Date: Wed, 10 Sep 2014 14:17:52 +0200
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<daniel@xxxxxxxxxxx>
Applied, thanks Daniel.
Thanks! I think this is subject for the stable branches.
--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html