public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Randy Dunlap <rdunlap@infradead•org>
To: Stephen Rothwell <sfr@canb•auug.org.au>
Cc: linux-next@vger•kernel.org, linux-kernel@vger•kernel.org,
	Daniel Vetter <daniel.vetter@ffwll•ch>,
	David Airlie <airlied@linux•ie>,
	intel-gfx@lists•freedesktop.org, dri-devel@lists•freedesktop.org,
	Andrew Morton <akpm@linux-foundation•org>
Subject: [PATCH -next] gpu: fix printk format warning in i915_gem.c
Date: Wed, 19 Jun 2013 20:03:22 -0700	[thread overview]
Message-ID: <51C270FA.5010703@infradead.org> (raw)
In-Reply-To: <20130619182115.e5786a389561898e8dce178d@canb.auug.org.au>

From: Randy Dunlap <rdunlap@infradead•org>

Fix printk format warning in i915_gem.c:

drivers/gpu/drm/i915/i915_gem.c:3113:3: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' [-Wformat]

Signed-off-by: Randy Dunlap <rdunlap@infradead•org>
Cc: Daniel Vetter <daniel.vetter@ffwll•ch>
Cc: David Airlie <airlied@linux•ie>
Cc: intel-gfx@lists•freedesktop.org
Cc: dri-devel@lists•freedesktop.org
---
 drivers/gpu/drm/i915/i915_gem.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next-20130619.orig/drivers/gpu/drm/i915/i915_gem.c
+++ linux-next-20130619/drivers/gpu/drm/i915/i915_gem.c
@@ -3110,7 +3110,7 @@ i915_gem_object_bind_to_gtt(struct drm_i
 	 * before evicting everything in a vain attempt to find space.
 	 */
 	if (obj->base.size > gtt_max) {
-		DRM_ERROR("Attempting to bind an object larger than the aperture: object=%zd > %s aperture=%ld\n",
+		DRM_ERROR("Attempting to bind an object larger than the aperture: object=%zd > %s aperture=%zu\n",
 			  obj->base.size,
 			  map_and_fenceable ? "mappable" : "total",
 			  gtt_max);

      parent reply	other threads:[~2013-06-20  3:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-19  8:21 linux-next: Tree for Jun 19 Stephen Rothwell
2013-06-20  2:56 ` linux-next: Tree for Jun 19 (serial/8250/8250_dw.c) Randy Dunlap
2013-06-20  3:03 ` Randy Dunlap [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=51C270FA.5010703@infradead.org \
    --to=rdunlap@infradead$(echo .)org \
    --cc=airlied@linux$(echo .)ie \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=daniel.vetter@ffwll$(echo .)ch \
    --cc=dri-devel@lists$(echo .)freedesktop.org \
    --cc=intel-gfx@lists$(echo .)freedesktop.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=sfr@canb$(echo .)auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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