2018-09-13 02:22:55

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the slave-dma tree

Hi Vinod,

After merging the slave-dma tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/dma/mcf-edma.c: In function 'mcf_edma_filter_fn':
drivers/dma/mcf-edma.c:296:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return (mcf_chan->slave_id == (u32)param);
^

Introduced by commit

e7a3ff92eaf1 ("dmaengine: fsl-edma: add ColdFire mcf5441x edma support")

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2018-09-13 07:24:30

by Angelo Dureghello

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the slave-dma tree

Hi,

sorry, there was no build-test robot warning anymore about it.
Will fix it in a patch in short.


On Thu, Sep 13, 2018 at 12:22:18PM +1000, Stephen Rothwell wrote:
> Hi Vinod,
>
> After merging the slave-dma tree, today's linux-next build (x86_64
> allmodconfig) produced this warning:
>
> drivers/dma/mcf-edma.c: In function 'mcf_edma_filter_fn':
> drivers/dma/mcf-edma.c:296:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
> return (mcf_chan->slave_id == (u32)param);
> ^
>
> Introduced by commit
>
> e7a3ff92eaf1 ("dmaengine: fsl-edma: add ColdFire mcf5441x edma support")
>

Regards,
Angelo

> --
> Cheers,
> Stephen Rothwell