powerpc/dma: remove unnecessary BUG()

Michael Ellerman patch-notifications at ellerman.id.au
Tue Jun 5 00:10:29 AEST 2018


On Wed, 2018-02-28 at 18:21:45 UTC, Christophe Leroy wrote:
> Direction is already checked in all calling functions in
> include/linux/dma-mapping.h and also in called function __dma_sync()
> 
> So really no need to check it once more here.
> 
> Signed-off-by: Christophe Leroy <christophe.leroy at c-s.fr>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/9887334b804892f10262fa7f805998

cheers


More information about the Linuxppc-dev mailing list