Files
twx-linux/drivers
Nathan Chancellor ae3765a0a3 dmaengine: timb_dma: Use proper enum in td_prep_slave_sg
[ Upstream commit 5e621f5d53 ]

Clang warns when implicitly converting from one enumerated type to
another. Avoid this by using the equivalent value from the expected
type.

drivers/dma/timb_dma.c:548:27: warning: implicit conversion from
enumeration type 'enum dma_transfer_direction' to different enumeration
type 'enum dma_data_direction' [-Wenum-conversion]
                td_desc->desc_list_len, DMA_MEM_TO_DEV);
                                        ^~~~~~~~~~~~~~
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-24 08:19:46 +01:00
..
2019-10-05 13:09:45 +02:00
2019-10-07 18:57:08 +02:00
2019-11-12 19:20:30 +01:00
2019-11-20 18:47:35 +01:00
2019-11-20 18:47:52 +01:00
2019-11-24 08:19:14 +01:00
2019-10-11 18:21:13 +02:00