Hi Fabio, [auto build test WARNING on linus/master] [also build test WARNING on v4.12-rc4 next-20170609] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Fabio-Estevam/dmaengine-Kconfig-Extend-the-dependency-for-MXS_DMA/20170611-060921 config: tile-allyesconfig (attached as .config) compiler: tilegx-linux-gcc (GCC) 4.6.2 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=tile All warnings (new ones prefixed by >>): drivers//dma/mxs-dma.c: In function 'mxs_dma_prep_dma_cyclic': >> drivers//dma/mxs-dma.c:621:5: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat] vim +621 drivers//dma/mxs-dma.c a580b8c5 Shawn Guo 2011-02-27 605 return NULL; a580b8c5 Shawn Guo 2011-02-27 606 a580b8c5 Shawn Guo 2011-02-27 607 mxs_chan->status = DMA_IN_PROGRESS; a580b8c5 Shawn Guo 2011-02-27 608 mxs_chan->flags |= MXS_DMA_SG_LOOP; 2dcbdce3 Markus Pargmann 2013-10-29 609 mxs_chan->flags |= MXS_DMA_USE_SEMAPHORE; a580b8c5 Shawn Guo 2011-02-27 610 a580b8c5 Shawn Guo 2011-02-27 611 if (num_periods > NUM_CCW) { a580b8c5 Shawn Guo 2011-02-27 612 dev_err(mxs_dma->dma_device.dev, a580b8c5 Shawn Guo 2011-02-27 613 "maximum number of sg exceeded: %d > %d\n", a580b8c5 Shawn Guo 2011-02-27 614 num_periods, NUM_CCW); a580b8c5 Shawn Guo 2011-02-27 615 goto err_out; a580b8c5 Shawn Guo 2011-02-27 616 } a580b8c5 Shawn Guo 2011-02-27 617 a580b8c5 Shawn Guo 2011-02-27 618 if (period_len > MAX_XFER_BYTES) { a580b8c5 Shawn Guo 2011-02-27 619 dev_err(mxs_dma->dma_device.dev, a580b8c5 Shawn Guo 2011-02-27 620 "maximum period size exceeded: %d > %d\n", a580b8c5 Shawn Guo 2011-02-27 @621 period_len, MAX_XFER_BYTES); a580b8c5 Shawn Guo 2011-02-27 622 goto err_out; a580b8c5 Shawn Guo 2011-02-27 623 } a580b8c5 Shawn Guo 2011-02-27 624 a580b8c5 Shawn Guo 2011-02-27 625 while (buf < buf_len) { a580b8c5 Shawn Guo 2011-02-27 626 struct mxs_dma_ccw *ccw = &mxs_chan->ccw[i]; a580b8c5 Shawn Guo 2011-02-27 627 a580b8c5 Shawn Guo 2011-02-27 628 if (i + 1 == num_periods) a580b8c5 Shawn Guo 2011-02-27 629 ccw->next = mxs_chan->ccw_phys; :::::: The code at line 621 was first introduced by commit :::::: a580b8c5429a624d120cd603e1498bf676e2b4da dmaengine: mxs-dma: add dma support for i.MX23/28 :::::: TO: Shawn Guo <shawn.guo@xxxxxxxxxxxxx> :::::: CC: Vinod Koul <vinod.koul@xxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip