diff options
author | Pekka Paalanen <pq@iki.fi> | 2009-08-23 12:40:55 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-08-27 11:21:08 +1000 |
commit | a1a2d1d32250f6fcc317419e9dfb4a5a6946d2e6 (patch) | |
tree | 3ef2ff19e439764d73c78ed77f15cce554920a5f /drivers/gpu/drm/i915/i915_gem.c | |
parent | 3f7dc91adef90a20f806282724c40d68d5b020aa (diff) |
drm: GEM handles are u32, not int
Several functions in the GEM kernel API used int as handle type, but
user API has it __u32 which is also the intended type.
Replace int with u32.
Signed-off-by: Pekka Paalanen <pq@iki.fi>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index 140bee142fc..0e6c9cca897 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c @@ -111,7 +111,8 @@ i915_gem_create_ioctl(struct drm_device *dev, void *data, { struct drm_i915_gem_create *args = data; struct drm_gem_object *obj; - int handle, ret; + int ret; + u32 handle; args->size = roundup(args->size, PAGE_SIZE); |