aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-06-06 10:40:22 -0400
committerEric Anholt <eric@anholt.net>2010-08-01 22:03:45 -0400
commitd312ec251769dc2ad6c9bd9856a756c6097ab63c (patch)
tree628e622d68a8f48da674d140854d037a2a3ae0de /drivers/gpu/drm/i915/i915_drv.h
parentb4b78d12d7c5108b9a71752b59dcc51b11cd9ea6 (diff)
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 e40dcf2af43..21a4af99919 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 {
739 uint32_t stride; 739 uint32_t stride;
740 740
741 /** Record of address bit 17 of each page at last unbind. */ 741 /** Record of address bit 17 of each page at last unbind. */
742 long *bit_17; 742 unsigned long *bit_17;
743 743
744 /** AGP mapping type (AGP_USER_MEMORY or AGP_USER_CACHED_MEMORY */ 744 /** AGP mapping type (AGP_USER_MEMORY or AGP_USER_CACHED_MEMORY */
745 uint32_t agp_type; 745 uint32_t agp_type;