Re: [PATCH RESEND v9 2/2] dmaengine: Loongson1: Add Loongson-1 APB DMA driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 25, 2024 at 1:57 PM Vinod Koul <vkoul@xxxxxxxxxx> wrote:
>
> On 14-07-24, 05:11, kernel test robot wrote:
> > Hi Keguang,
> >
> > kernel test robot noticed the following build warnings:
> >
> > [auto build test WARNING on d35b2284e966c0bef3e2182a5c5ea02177dd32e4]
> >
> > url:    https://github.com/intel-lab-lkp/linux/commits/Keguang-Zhang-via-B4-Relay/dt-bindings-dma-Add-Loongson-1-APB-DMA/20240711-191657
> > base:   d35b2284e966c0bef3e2182a5c5ea02177dd32e4
> > patch link:    https://lore.kernel.org/r/20240711-loongson1-dma-v9-2-5ce8b5e85a56%40gmail.com
> > patch subject: [PATCH RESEND v9 2/2] dmaengine: Loongson1: Add Loongson-1 APB DMA driver
> > config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20240714/202407140536.iIizeGVy-lkp@xxxxxxxxx/config)
> > compiler: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240714/202407140536.iIizeGVy-lkp@xxxxxxxxx/reproduce)
> >
> > If you fix the issue in a separate patch/commit (i.e. not just a new version of
> > the same patch/commit), kindly add following tags
> > | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> > | Closes: https://lore.kernel.org/oe-kbuild-all/202407140536.iIizeGVy-lkp@xxxxxxxxx/
> >
> > All warnings (new ones prefixed by >>):
> >
> >    In file included from include/linux/printk.h:598,
> >                     from include/asm-generic/bug.h:22,
> >                     from arch/x86/include/asm/bug.h:87,
> >                     from include/linux/bug.h:5,
> >                     from include/linux/fortify-string.h:6,
> >                     from include/linux/string.h:374,
> >                     from include/linux/scatterlist.h:5,
> >                     from include/linux/dmapool.h:14,
> >                     from drivers/dma/loongson1-apb-dma.c:8:
> >    drivers/dma/loongson1-apb-dma.c: In function 'ls1x_dma_start':
> > >> drivers/dma/loongson1-apb-dma.c:137:34: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'dma_addr_t' {aka 'long long unsigned int'} [-Wformat=]
> >      137 |         dev_dbg(chan2dev(dchan), "cookie=%d, starting hwdesc=%x\n",
>
> You should not use %x for dma_addr_t, please see documentation
>
Will fix this in next version.
Thanks!

> --
> ~Vinod



-- 
Best regards,

Keguang Zhang





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux