Skip to content
Commit 43dd5554 authored by Olof Johansson's avatar Olof Johansson Committed by Thierry Reding
Browse files

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: default avatarOlof Johansson <olof@lixom.net>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent 6ce4eac1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment