build warning on 32-bit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  CC [M]  drivers/gpu/drm/i915/i915_gem.o
/ssd/git/drm-next/drivers/gpu/drm/i915/i915_gem.c: In function
‘i915_gem_object_bind_to_gtt’:
/ssd/git/drm-next/drivers/gpu/drm/i915/i915_gem.c:3000:3: warning:
format ‘%ld’ expects argument of type ‘long int’, but argument 5 has
type ‘size_t’ [-Wformat]
  CC [M]  drivers/gpu/drm/i915/i915_gem_context.o

commit a36689cb771f06819c3fa8139c3d3716dfdf6d53
Author: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Date:   Tue May 21 16:58:49 2013 +0100

    drm/i915: Be more informative when reporting "too large for aperture" error

    This should help debugging the truly unexpected cases where it occurs -
    in particular to see which value is garbage.

    References: https://bugzilla.kernel.org/show_bug.cgi?id=58511
    Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
    [danvet: s/%ld/%zd/ as spotted by Wu Fengguang's autobuilder.]
    Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx>

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





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux