Files
android_kernel_xiaomi_sm8450/include/linux/platform_data
Nathan Chancellor 9524d6b265 dmaengine: ep93xx: Return proper enum in ep93xx_dma_chan_direction
Clang warns when implicitly converting from one enumerated type to
another. Avoid this by using the equivalent value from the expected
type.

In file included from drivers/dma/ep93xx_dma.c:30:
./include/linux/platform_data/dma-ep93xx.h:88:10: warning: implicit
conversion from enumeration type 'enum dma_data_direction' to different
enumeration type 'enum dma_transfer_direction' [-Wenum-conversion]
                return DMA_NONE;
                ~~~~~~ ^~~~~~~~
1 warning generated.

Reported-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2018-10-02 20:11:00 +05:30
..
2016-01-24 14:46:21 +00:00
2014-02-19 13:36:15 +09:00
2015-10-17 21:22:08 -07:00
2017-04-10 17:31:17 +01:00
2014-01-14 21:36:53 -08:00
2018-06-18 21:28:44 +02:00
2018-04-24 10:44:25 +01:00