diff options
author | 2018-09-11 16:20:25 -0700 | |
---|---|---|
committer | 2018-10-02 20:11:09 +0530 | |
commit | 5e621f5d538985f010035c6f3e28c22829d36db1 (patch) | |
tree | 8acf69208d1b6a222c3fa6d206181135e3b1e218 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | dmaengine: ep93xx: Return proper enum in ep93xx_dma_chan_direction (diff) | |
download | linux-dev-5e621f5d538985f010035c6f3e28c22829d36db1.tar.xz linux-dev-5e621f5d538985f010035c6f3e28c22829d36db1.zip |
dmaengine: timb_dma: Use proper enum in td_prep_slave_sg
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions