2020-01-06 21:20:30

by Olof Johansson

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

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 <[email protected]> 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 <[email protected]>

Acked-by: Olof Johansson <[email protected]>


-Olof


2020-01-07 09:05:45

by Miquel Raynal

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

Hi Olof,

Olof Johansson <[email protected]> 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 <[email protected]> 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 <[email protected]>
>
> Acked-by: Olof Johansson <[email protected]>
>

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

Thanks,
Miquèl