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>
This commit is contained in:
Pekka Paalanen
2009-08-23 12:40:55 +03:00
committed by Dave Airlie
parent 3f7dc91ade
commit a1a2d1d322
3 changed files with 9 additions and 9 deletions

View File

@@ -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);