summaryrefslogtreecommitdiffstats
path: root/include/linux/quicklist.h
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2018-09-11 16:20:25 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-24 08:19:46 +0100
commitae3765a0a33db2a4f63dfd4b850e9b29f668ea09 (patch)
tree56f984e8517b85f32c1d26827c17f6d4098c0a91 /include/linux/quicklist.h
parent0c21aa9b5651f2e8e2fd26832042000bb9ad0152 (diff)
downloadlinux-stable-ae3765a0a33db2a4f63dfd4b850e9b29f668ea09.tar.gz
linux-stable-ae3765a0a33db2a4f63dfd4b850e9b29f668ea09.tar.bz2
linux-stable-ae3765a0a33db2a4f63dfd4b850e9b29f668ea09.zip
dmaengine: timb_dma: Use proper enum in td_prep_slave_sg
[ Upstream commit 5e621f5d538985f010035c6f3e28c22829d36db1 ] 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>
Diffstat (limited to 'include/linux/quicklist.h')
0 files changed, 0 insertions, 0 deletions