summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-06-06 15:40:22 +0100
committerEric Anholt <eric@anholt.net>2010-08-01 19:03:45 -0700
commitd312ec251769dc2ad6c9bd9856a756c6097ab63c (patch)
tree628e622d68a8f48da674d140854d037a2a3ae0de /drivers/gpu/drm/i915/i915_drv.h
parentb4b78d12d7c5108b9a71752b59dcc51b11cd9ea6 (diff)
downloadlwn-d312ec251769dc2ad6c9bd9856a756c6097ab63c.tar.gz
lwn-d312ec251769dc2ad6c9bd9856a756c6097ab63c.zip
drm/i915: Sparse warns about the incorrect sign for storing bit17
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index e40dcf2af433..21a4af999191 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -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;