summaryrefslogtreecommitdiffstats
path: root/drivers/dma/Makefile
diff options
context:
space:
mode:
authorEmil Goode <emilgoode@gmail.com>2012-09-28 17:35:06 +0200
committerOhad Ben-Cohen <ohad@wizery.com>2012-10-02 10:14:43 +0200
commitd09f53a735bae43806a77754312a45d3f1198342 (patch)
tree9fee166f4ee51906db2ff787c3f7453837f0b563 /drivers/dma/Makefile
parentremoteproc: fix a potential NULL-dereference on cleanup (diff)
downloadlinux-d09f53a735bae43806a77754312a45d3f1198342.tar.xz
linux-d09f53a735bae43806a77754312a45d3f1198342.zip
remoteproc: Fix use of format specifyer
The dma_addr_t type can be either u32 or u64 depending on the configuration. We should use a format specifyer for the larger type and explicitly cast to it. Sparse warnings: drivers/remoteproc/remoteproc_core.c:234:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 6 has type ‘dma_addr_t’ [-Wformat] drivers/remoteproc/remoteproc_core.c:596:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘dma_addr_t’ [-Wformat] drivers/remoteproc/remoteproc_core.c:634:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 5 has type ‘dma_addr_t’ [-Wformat] Signed-off-by: Emil Goode <emilgoode@gmail.com> [fix commit log typos] Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Diffstat (limited to 'drivers/dma/Makefile')
0 files changed, 0 insertions, 0 deletions