[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZqHpWKLhRUi0N5Ps@matsya>
Date: Thu, 25 Jul 2024 11:27:44 +0530
From: Vinod Koul <vkoul@...nel.org>
To: Keguang Zhang <keguang.zhang@...il.com>
Cc: Keguang Zhang via B4 Relay <devnull+keguang.zhang.gmail.com@...nel.org>,
kernel test robot <lkp@...el.com>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, oe-kbuild-all@...ts.linux.dev,
linux-mips@...r.kernel.org, dmaengine@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Jiaxun Yang <jiaxun.yang@...goat.com>
Subject: Re: [PATCH RESEND v9 2/2] dmaengine: Loongson1: Add Loongson-1 APB
DMA driver
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@intel.com/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@intel.com/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@...el.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202407140536.iIizeGVy-lkp@intel.com/
>
> 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
--
~Vinod
Powered by blists - more mailing lists