From: Olof Johansson Date: Wed, 13 Nov 2013 07:16:50 +0000 (-0800) Subject: gpu: host1x: Silence a few warnings with LPAE=y X-Git-Tag: v3.13-rc4~39^2~5^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43dd5554fc4e0aa3c29df24aa9dbc7a610fb9e36;p=pandora-kernel.git gpu: host1x: Silence a few warnings with LPAE=y When building with LPAE=y (64-bit dma_addr_t), the following warnings are seen: drivers/gpu/host1x/hw/cdma_hw.c:57:3: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'dma_addr_t' drivers/gpu/host1x/hw/debug_hw.c:167:10: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'dma_addr_t' The agreed-to solution for this is upcast to u64 and using %llx. Signed-off-by: Olof Johansson Signed-off-by: Thierry Reding --- Reading git-diff-tree failed