Skip to contentSkip to conversation

linux-next: build warning after merge of the slave-dma tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Sep 13, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi,

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

Quoted 5 lines · Stephen Rothwell

Hi Vinod,

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

Quoted 9 lines

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

Quoted 3 lines
Signature · 2 lines
Cheers,
Stephen Rothwell