diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2018-09-11 16:40:20 -0700 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-10-02 20:11:00 +0530 |
commit | 9524d6b265f9b2b9a61fceb2ee2ce1c2a83e39ca (patch) | |
tree | b2bd60c9884e339f7c5f5dc513fc64a505804758 /drivers/dma | |
parent | 5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff) | |
download | blackbird-op-linux-9524d6b265f9b2b9a61fceb2ee2ce1c2a83e39ca.tar.gz blackbird-op-linux-9524d6b265f9b2b9a61fceb2ee2ce1c2a83e39ca.zip |
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>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions