From: Emil Goode Date: Fri, 28 Sep 2012 15:35:06 +0000 (+0200) Subject: remoteproc: Fix use of format specifyer X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~18^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d09f53a735bae43806a77754312a45d3f1198342;p=pandora-kernel.git 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 [fix commit log typos] Signed-off-by: Ohad Ben-Cohen --- Reading git-diff-tree failed