[PATCH v2] mtd: cadence: Fix cast to pointer from integer of different size warning

Olof Johansson olof at lixom.net
Mon Jan 6 13:18:17 PST 2020


Miquel, this warning is still there both in mainline and linux-next.

Can you please apply it and get it sent in so we can keep the tree
building cleaning and spot warnings without the noise? Thanks!

On Wed, Dec 18, 2019 at 1:57 AM Vasyl Gomonovych <gomonovych at gmail.com> wrote:
>
> Use dma_addr_t type to pass memory address and control data in
> DMA descriptor fields memory_pointer and ctrl_data_ptr
> To fix warning: cast to pointer from integer of different size
>
> Signed-off-by: Vasyl Gomonovych <gomonovych at gmail.com>

Acked-by: Olof Johansson <olof at lixom.net>


-Olof



More information about the linux-mtd mailing list