diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-06-06 15:40:22 +0100 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-08-01 19:03:45 -0700 |
commit | d312ec251769dc2ad6c9bd9856a756c6097ab63c (patch) | |
tree | 628e622d68a8f48da674d140854d037a2a3ae0de | |
parent | b4b78d12d7c5108b9a71752b59dcc51b11cd9ea6 (diff) | |
download | blackbird-op-linux-d312ec251769dc2ad6c9bd9856a756c6097ab63c.tar.gz blackbird-op-linux-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>
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 2 |
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; |