dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding@gmail.com>
To: Geert Uytterhoeven <geert+renesas@glider.be>,
	Daniel Vetter <daniel.vetter@intel.com>
Cc: Magnus Damm <damm+renesas@opensource.se>,
	dri-devel@lists.freedesktop.org
Subject: Re: [PATCH] drm/cma: Fix 64-bit size_t build warnings
Date: Fri, 5 Jun 2015 13:24:30 +0200	[thread overview]
Message-ID: <20150605112359.GC17776@ulmo.nvidia.com> (raw)
In-Reply-To: <1430748979-7845-1-git-send-email-geert+renesas@glider.be>


[-- Attachment #1.1: Type: text/plain, Size: 1136 bytes --]

On Mon, May 04, 2015 at 04:16:19PM +0200, Geert Uytterhoeven wrote:
> From: Magnus Damm <damm+renesas@opensource.se>
> 
> Fix warnings related to size_t when building for 64-bit architectures:
> 
> drivers/gpu/drm/drm_gem_cma_helper.c: In function ‘drm_gem_cma_create’:
> drivers/gpu/drm/drm_gem_cma_helper.c:114:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ [-Wformat=]
>     size);
>     ^
> drivers/gpu/drm/drm_gem_cma_helper.c: In function ‘drm_gem_cma_describe’:
> drivers/gpu/drm/drm_gem_cma_helper.c:393:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 8 has type ‘size_t’ [-Wformat=]
>     off, &cma_obj->paddr, cma_obj->vaddr, obj->size);
> 
> Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
>  drivers/gpu/drm/drm_gem_cma_helper.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Thierry Reding <treding@nvidia.com>

Daniel, is this perhaps something you'd like to pick up into your misc
branch?

Thierry

[-- Attachment #1.2: Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

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

  reply	other threads:[~2015-06-05 11:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-04 14:16 [PATCH] drm/cma: Fix 64-bit size_t build warnings Geert Uytterhoeven
2015-06-05 11:24 ` Thierry Reding [this message]
2015-06-15  5:46   ` Daniel Vetter
  -- strict thread matches above, loose matches on Subject: below --
2015-02-19  1:06 Magnus Damm
2015-02-19 10:46 ` Geert Uytterhoeven

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=20150605112359.GC17776@ulmo.nvidia.com \
    --to=thierry.reding@gmail.com \
    --cc=damm+renesas@opensource.se \
    --cc=daniel.vetter@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=geert+renesas@glider.be \
    /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