Files
kernel_google_wahoo/include/linux/platform_data
Nathan Chancellor 1d6b58f039 dmaengine: ep93xx: Return proper enum in ep93xx_dma_chan_direction
[ Upstream commit 9524d6b265f9b2b9a61fceb2ee2ce1c2a83e39ca ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-25 15:54:30 +01:00
..
2014-02-19 13:36:15 +09:00
2015-10-17 21:22:08 -07:00
2014-01-02 03:30:35 -05:00
2018-03-22 09:23:25 +01:00
2015-07-27 01:10:29 -07:00
2014-01-14 21:36:53 -08:00
2015-10-27 04:21:14 +01:00
2013-12-11 10:56:21 -05:00
2014-01-14 21:36:53 -08:00