[PATCH v1 1/1] ath10k: convert kmemdup to dma_alloc_coherent

Kalle Valo kvalo at codeaurora.org
Sat Apr 21 00:10:31 PDT 2018


Jared Bents <jared.bents at rockwellcollins.com> writes:

> Update to convert the use of kmemdup to dma_alloc_coherent as
> dma_alloc_coherent will consider DMA region limits such as
> those seen with CONFIG_FSL_PCI && CONFIG_ZONE_DMA32 whereas
> kmemdup does not take those limitations into account.
>
> Signed-off-by: Jared Bents <jared.bents at rockwellcollins.com>

Does this fix a real bug or is it just a theoretical issue you noticed
while looking at the code? If this fixes a real bug please give a
description of it.

https://wireless.wiki.kernel.org/en/users/drivers/ath10k/submittingpatches#guidelines

-- 
Kalle Valo



More information about the ath10k mailing list