diff options
author | Pekka Paalanen <pq@iki.fi> | 2009-08-23 05:40:55 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-08-26 21:21:08 -0400 |
commit | a1a2d1d32250f6fcc317419e9dfb4a5a6946d2e6 (patch) | |
tree | 3ef2ff19e439764d73c78ed77f15cce554920a5f /include/drm/drmP.h | |
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 'include/drm/drmP.h')
-rw-r--r-- | include/drm/drmP.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h index e0f1c1fee58b..eeefb6369e19 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h | |||
@@ -1441,7 +1441,7 @@ drm_gem_object_unreference(struct drm_gem_object *obj) | |||
1441 | 1441 | ||
1442 | int drm_gem_handle_create(struct drm_file *file_priv, | 1442 | int drm_gem_handle_create(struct drm_file *file_priv, |
1443 | struct drm_gem_object *obj, | 1443 | struct drm_gem_object *obj, |
1444 | int *handlep); | 1444 | u32 *handlep); |
1445 | 1445 | ||
1446 | static inline void | 1446 | static inline void |
1447 | drm_gem_object_handle_reference(struct drm_gem_object *obj) | 1447 | drm_gem_object_handle_reference(struct drm_gem_object *obj) |
@@ -1467,7 +1467,7 @@ drm_gem_object_handle_unreference(struct drm_gem_object *obj) | |||
1467 | 1467 | ||
1468 | struct drm_gem_object *drm_gem_object_lookup(struct drm_device *dev, | 1468 | struct drm_gem_object *drm_gem_object_lookup(struct drm_device *dev, |
1469 | struct drm_file *filp, | 1469 | struct drm_file *filp, |
1470 | int handle); | 1470 | u32 handle); |
1471 | int drm_gem_close_ioctl(struct drm_device *dev, void *data, | 1471 | int drm_gem_close_ioctl(struct drm_device *dev, void *data, |
1472 | struct drm_file *file_priv); | 1472 | struct drm_file *file_priv); |
1473 | int drm_gem_flink_ioctl(struct drm_device *dev, void *data, | 1473 | int drm_gem_flink_ioctl(struct drm_device *dev, void *data, |