aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2015-11-12 14:16:53 +0000
committerVinod Koul <[email protected]>2015-11-16 03:50:57 +0000
commit268914f4e7a013a4798b5544cce9d9584de99889 (patch)
tree1b8b7f22ead4016567d45f895bfa645e12e5bafe /net/unix/af_unix.c
parentdmaengine: imx-sdma: remove __init annotation on sdma_event_remap (diff)
downloadkernel-268914f4e7a013a4798b5544cce9d9584de99889.tar.gz
kernel-268914f4e7a013a4798b5544cce9d9584de99889.zip
dmaengine: at_xdmac: use %pad format string for dma_addr_t
dma_addr_t may be defined as 32 or 64 bit depending on configuration, so it cannot be printed using the normal format strings, as gcc correctly warns: drivers/dma/at_xdmac.c: In function 'at_xdmac_interleaved_queue_desc': drivers/dma/at_xdmac.c:922:51: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=] This changes the format strings to use the special "%pad" format string that prints a dma_addr_t, and changes the arguments so we pass the address by reference as required. Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions