From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
To: Tvrtko Ursulin <tvrtko.ursulin@intel.com>,
Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [drm-intel:drm-intel-next-queued 273/275] drivers/gpu/drm/i915/i915_gem_gtt.c:2748:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t'
Date: Wed, 24 Jun 2015 13:23:48 +0100 [thread overview]
Message-ID: <558AA154.2070000@linux.intel.com> (raw)
In-Reply-To: <201506242053.IP63EnpD%fengguang.wu@intel.com>
On 06/24/2015 01:00 PM, kbuild test robot wrote:
> tree: git://anongit.freedesktop.org/drm-intel drm-intel-next-queued
> head: cfbcbcf86a2fe9e6841abf3ba798f62de5f14c68
> commit: 3c77ff539bce5ab9fe3c5da7929d311a44919b8c [273/275] drm/i915: Remove mostly unused variable in intel_rotate_fb_obj_pages
> config: i386-randconfig-x0-06241944 (attached as .config)
> reproduce:
> git checkout 3c77ff539bce5ab9fe3c5da7929d311a44919b8c
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All warnings (new ones prefixed by >>):
>
> drivers/gpu/drm/i915/i915_gem_gtt.c: In function 'gen8_ppgtt_init':
> drivers/gpu/drm/i915/i915_gem_gtt.c:955:22: warning: large integer implicitly truncated to unsigned type [-Woverflow]
> ppgtt->base.total = 1ULL << 32;
> ^
> drivers/gpu/drm/i915/i915_gem_gtt.c: In function 'intel_rotate_fb_obj_pages':
>>> drivers/gpu/drm/i915/i915_gem_gtt.c:2748:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' [-Wformat=]
> DRM_DEBUG_KMS(
> ^
Ah size_t again. :) Sounds like it should be %zu for obj->base.size.
Interestingly this warning did not trigger on my machine.
Would you prefer a fixup patch, a resend of the offender, or manual
maintainer intervention in git history? (In the last option note there
are two instances to be fixed up, line 2748 and 2763.)
Tvrtko
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2015-06-24 12:23 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-24 12:00 [drm-intel:drm-intel-next-queued 273/275] drivers/gpu/drm/i915/i915_gem_gtt.c:2748:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' kbuild test robot
2015-06-24 12:23 ` Tvrtko Ursulin [this message]
2015-06-24 12:49 ` Daniel Vetter
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=558AA154.2070000@linux.intel.com \
--to=tvrtko.ursulin@linux.intel.com \
--cc=daniel.vetter@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
--cc=tvrtko.ursulin@intel.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.