dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
Cc: airlied-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Arto Merilainen
	<amerilainen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	tbergstrom-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org
Subject: Re: [PATCH] gpu: host1x: Silence a few warnings with LPAE=y
Date: Tue, 3 Dec 2013 11:09:54 +0100	[thread overview]
Message-ID: <20131203100953.GE21178@ulmo.nvidia.com> (raw)
In-Reply-To: <1384327010-8870-1-git-send-email-olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 794 bytes --]

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-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
> ---
>  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 #2: Type: application/pgp-signature, Size: 836 bytes --]

      parent reply	other threads:[~2013-12-03 10:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-13  7:16 [PATCH] gpu: host1x: Silence a few warnings with LPAE=y Olof Johansson
     [not found] ` <1384327010-8870-1-git-send-email-olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
2013-12-03 10:09   ` Thierry Reding [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131203100953.GE21178@ulmo.nvidia.com \
    --to=thierry.reding-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=airlied-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=amerilainen-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org \
    --cc=tbergstrom-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox