Re: [PATCH] spi: sh-msiof: Use correct enum for DMA transfer direction

2018-03-21 Thread Stefan Agner
On 21.03.2018 09:07, Geert Uytterhoeven wrote: > Use enum dma_transfer_direction as required by dmaengine_prep_slave_sg() > instead of enum dma_data_direction. This won't change behavior in > practice as the enum values are equivalent. > > This fixes two warnings when building with clang: >

[PATCH] spi: sh-msiof: Use correct enum for DMA transfer direction

2018-03-21 Thread Geert Uytterhoeven
Use enum dma_transfer_direction as required by dmaengine_prep_slave_sg() instead of enum dma_data_direction. This won't change behavior in practice as the enum values are equivalent. This fixes two warnings when building with clang: drivers/spi/spi-sh-msiof.c:755:27: warning: implicit