diff options
author | Emil Goode <emilgoode@gmail.com> | 2012-09-28 15:35:06 (GMT) |
---|---|---|
committer | Ohad Ben-Cohen <ohad@wizery.com> | 2012-10-02 08:14:43 (GMT) |
commit | d09f53a735bae43806a77754312a45d3f1198342 (patch) | |
tree | 9fee166f4ee51906db2ff787c3f7453837f0b563 /fs | |
parent | 7168d914a782086e217214c57ddfc7cc4b738c0c (diff) | |
download | linux-fsl-qoriq-d09f53a735bae43806a77754312a45d3f1198342.tar.xz |
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 'fs')
0 files changed, 0 insertions, 0 deletions