aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_irq.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.(none)>2008-04-27 09:42:17 -0700
committerJesse Barnes <jbarnes@hobbes.(none)>2008-04-27 09:42:17 -0700
commit7f8e4060859651993921281445ec00940c577222 (patch)
tree33c8d10bfa533fe0eac783e16358f7c11f3d05ec /linux-core/drm_irq.c
parentb45fe49bcd989be4e1327c13dd734410b395761c (diff)
Use fixed sized types in new ioctls
Make both crtc and the command argument 32 bits to avoid any 32-on-64 compat issues.
Diffstat (limited to 'linux-core/drm_irq.c')
-rw-r--r--linux-core/drm_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_irq.c b/linux-core/drm_irq.c
index 592ea2ad..8f27d7f3 100644
--- a/linux-core/drm_irq.c
+++ b/linux-core/drm_irq.c
@@ -437,7 +437,7 @@ int drm_modeset_ctl(struct drm_device *dev, void *data,
int crtc, ret = 0;
u32 new;
- crtc = modeset->arg;
+ crtc = modeset->crtc;
if (crtc >= dev->num_crtcs) {
ret = -EINVAL;
goto out;