All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: Thierry Reding <thierry.reding@gmail.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>,
	Magnus Damm <damm+renesas@opensource.se>,
	dri-devel@lists.freedesktop.org,
	Geert Uytterhoeven <geert+renesas@glider.be>
Subject: Re: [PATCH] drm/cma: Fix 64-bit size_t build warnings
Date: Mon, 15 Jun 2015 07:46:33 +0200	[thread overview]
Message-ID: <20150615054632.GZ8341@phenom.ffwll.local> (raw)
In-Reply-To: <20150605112359.GC17776@ulmo.nvidia.com>

On Fri, Jun 05, 2015 at 01:24:30PM +0200, Thierry Reding wrote:
> 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?

Well I generally try to shy away from arm-driver specific drm stuff, but
because vacation I'm in a good mood ;-)

Applied to drm-misc, thanks.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2015-06-15  5:43 UTC|newest]

Thread overview: 8+ 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
2015-06-15  5:46   ` Daniel Vetter [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-02-19  1:06 Magnus Damm
2015-02-19  1:06 ` Magnus Damm
2015-02-19  1:06 ` Magnus Damm
2015-02-19 10:46 ` Geert Uytterhoeven
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=20150615054632.GZ8341@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=damm+renesas@opensource.se \
    --cc=daniel.vetter@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=geert+renesas@glider.be \
    --cc=thierry.reding@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.