Re: powerpc/dma: remove unnecessary BUG()

2018-06-04 Thread Michael Ellerman
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 Applied to powerpc

[PATCH] powerpc/dma: remove unnecessary BUG()

2018-02-28 Thread Christophe Leroy
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 --- arch/powerpc/kernel/dma.c | 2 -- 1 file changed, 2