summaryrefslogtreecommitdiffstats
path: root/drivers/char/genrtc.c
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/char/genrtc.c
parent7168d914a782086e217214c57ddfc7cc4b738c0c (diff)
downloadop-kernel-dev-d09f53a735bae43806a77754312a45d3f1198342.zip
op-kernel-dev-d09f53a735bae43806a77754312a45d3f1198342.tar.gz
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/char/genrtc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud