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

Miquel Raynal miquel.raynal at bootlin.com
Tue Jan 7 01:04:39 PST 2020

Hi Olof,

Olof Johansson <olof at lixom.net> 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 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>

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


More information about the linux-mtd mailing list