[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181002144130.GB19792@vkoul-mobl>
Date: Tue, 2 Oct 2018 20:11:30 +0530
From: Vinod <vkoul@...nel.org>
To: Nathan Chancellor <natechancellor@...il.com>
Cc: Dan Williams <dan.j.williams@...el.com>, dmaengine@...r.kernel.org,
linux-kernel@...r.kernel.org,
Nick Desaulniers <ndesaulniers@...gle.com>
Subject: Re: [PATCH] dmaengine: timb_dma: Use proper enum in td_prep_slave_sg
On 11-09-18, 16:20, Nathan Chancellor wrote:
> 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.
Applied, thanks
--
~Vinod
Powered by blists - more mailing lists