drm/i915: Sparse warns about the incorrect sign for storing bit17
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 6 Jun 2010 14:40:22 +0000 (15:40 +0100)
committerEric Anholt <eric@anholt.net>
Mon, 2 Aug 2010 02:03:45 +0000 (19:03 -0700)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.h

index e40dcf2af4334e3a4b025272fd8c6df35e96e8a0..21a4af9991915b22845f0a04000472eeb0db94cc 100644 (file)
@@ -739,7 +739,7 @@ struct drm_i915_gem_object {
        uint32_t stride;
 
        /** Record of address bit 17 of each page at last unbind. */
-       long *bit_17;
+       unsigned long *bit_17;
 
        /** AGP mapping type (AGP_USER_MEMORY or AGP_USER_CACHED_MEMORY */
        uint32_t agp_type;