lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJhJPsX16-=HfDMWuYAPSuXL246Sn_L=j1=i+zpUPNK1mED8zA@mail.gmail.com>
Date: Tue, 6 Aug 2024 10:07:15 +0800
From: Keguang Zhang <keguang.zhang@...il.com>
To: Vinod Koul <vkoul@...nel.org>
Cc: kernel test robot <lkp@...el.com>, 
	Keguang Zhang via B4 Relay <devnull+keguang.zhang.gmail.com@...nel.org>, 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 v11 2/2] dmaengine: Loongson1: Add Loongson-1 APB DMA driver

On Tue, Aug 6, 2024 at 12:40 AM Vinod Koul <vkoul@...nel.org> wrote:
>
> On 05-08-24, 12:58, kernel test robot wrote:
> > Hi Keguang,
> >
> > kernel test robot noticed the following build warnings:
> >
> > [auto build test WARNING on 048d8cb65cde9fe7534eb4440bcfddcf406bb49c]
> >
> > url:    https://github.com/intel-lab-lkp/linux/commits/Keguang-Zhang-via-B4-Relay/dt-bindings-dma-Add-Loongson-1-APB-DMA/20240803-111220
> > base:   048d8cb65cde9fe7534eb4440bcfddcf406bb49c
> > patch link:    https://lore.kernel.org/r/20240802-loongson1-dma-v11-2-85392357d4e0%40gmail.com
> > patch subject: [PATCH v11 2/2] dmaengine: Loongson1: Add Loongson-1 APB DMA driver
> > config: sparc64-randconfig-r063-20240804 (https://download.01.org/0day-ci/archive/20240805/202408051242.8kGK28W7-lkp@intel.com/config)
> > compiler: sparc64-linux-gcc (GCC) 14.1.0
> > reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240805/202408051242.8kGK28W7-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/202408051242.8kGK28W7-lkp@intel.com/
> >
> > All warnings (new ones prefixed by >>):
> >
> >    drivers/dma/loongson1-apb-dma.c: In function 'ls1x_dma_chan_probe':
> > >> drivers/dma/loongson1-apb-dma.c:520:34: warning: '%u' directive writing between 1 and 10 bytes into a region of size 2 [-Wformat-overflow=]
> >      520 |         sprintf(pdev_irqname, "ch%u", chan_id);
> >          |                                  ^~
> >    drivers/dma/loongson1-apb-dma.c:520:31: note: directive argument in the range [0, 2147483646]
> >      520 |         sprintf(pdev_irqname, "ch%u", chan_id);
> >          |                               ^~~~~~
> >    drivers/dma/loongson1-apb-dma.c:520:9: note: 'sprintf' output between 4 and 13 bytes into a destination of size 4
> >      520 |         sprintf(pdev_irqname, "ch%u", chan_id);
> >          |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Pls fix these warnings!
>
Sorry for these warnings.
Will fix them ASAP.
Thanks!
> --
> ~Vinod



-- 
Best regards,

Keguang Zhang

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ