[PATCH] ath10k: fix dma_mapping_error() handling
Kalle Valo
kvalo at qca.qualcomm.com
Wed Aug 26 01:08:04 PDT 2015
Michal Kazior <michal.kazior at tieto.com> writes:
> The function returns 1 when DMA mapping fails. The
> driver would return bogus values and could
> possibly confuse itself if DMA failed.
>
> Fixes: 767d34fc67af ("ath10k: remove DMA mapping wrappers")
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: Michal Kazior <michal.kazior at tieto.com>
Thanks, applied.
--
Kalle Valo
More information about the ath10k
mailing list