Skip to contentSkip to conversation

linux-next: build warning after merge of the dmaengine tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Dec 22, 2023 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/dma/xilinx/xdma.c:729:1: warning: no previous prototype for 'xdma_prep_interleaved_dma' [-Wmissing-prototypes]
729 | xdma_prep_interleaved_dma(struct dma_chan *chan,

      | ^~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

01e6d9076561 ("dmaengine: xilinx: xdma: Implement interleaved DMA transfers")

It should probably be static.

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

Hi all,

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

drivers/dma/xilinx/xdma.c:729:1: warning: no previous prototype for 'xdma_prep_interleaved_dma' [-Wmissing-prototypes]
729 | xdma_prep_interleaved_dma(struct dma_chan *chan,

Quoted 7 lines
      | ^~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

01e6d9076561 ("dmaengine: xilinx: xdma: Implement interleaved DMA transfers")

It should probably be static.

Right, fixed and sent the patch

https://lore.kernel.org/all/[email protected]/

Thanks for the report

Signature · 1 line
~Vinod