re: dmaengine: xdmac: Add memset support

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

 



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?

  1183                  __func__, &desc->lld.mbr_da, &desc->lld.mbr_ds, desc->lld.mbr_ubc,
                                                      ^^^^^^^^^^^^^^^^
  1184                  desc->lld.mbr_cfg);
  1185  
  1186          return desc;


regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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