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

From: Miquel Raynal
Date: Tue Jan 07 2020 - 04:04:44 EST


Hi Olof,

Olof Johansson <olof@xxxxxxxxx> wrote on Mon, 6 Jan 2020 13:18:17 -0800:

> 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@xxxxxxxxx> 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@xxxxxxxxx>
>
> Acked-by: Olof Johansson <olof@xxxxxxxxx>
>

Sorry, I am late. I'll send a fixes PR this week.

Thanks,
MiquÃl