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