Re: [PATCH] gpu: host1x: Silence a few warnings with LPAE=y

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 12, 2013 at 11:16:50PM -0800, Olof Johansson wrote:
> 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 <olof@xxxxxxxxx>
> ---
>  drivers/gpu/host1x/hw/cdma_hw.c  |    4 ++--
>  drivers/gpu/host1x/hw/debug_hw.c |    4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)

Applied, thanks.

Thierry

Attachment: pgpbHBpbu2niL.pgp
Description: PGP signature

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux