Re: dmaengine: xdmac: Add memset support

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

 



Hi Dan,

On Thu, Nov 19, 2015 at 01:50:14AM +0300, Dan Carpenter wrote:
> Hello Maxime Ripard,
> 
> The patch b206d9a23ac7: "dmaengine: xdmac: Add memset support" from
> May 18, 2015, leads to the following static checker warning:
> 
> 	drivers/dma/at_xdmac.c:1181 at_xdmac_memset_create_desc()
> 	error: '%pad' expects argument of type 'dma_addr_t*', argument 6 has type 'uint*'
> 
> drivers/dma/at_xdmac.c
>   1179          desc->lld.mbr_cfg = chan_cc;
>   1180  
>   1181          dev_dbg(chan2dev(chan),
>   1182                  "%s: lld: mbr_da=%pad, mbr_ds=%pad, mbr_ubc=0x%08x, mbr_cfg=0x%08x\n",
>                                                ^^^^^^^^^^^
> Just use %p?

That seems right. Will you send a patch or should I do it?

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux