From 7f8e4060859651993921281445ec00940c577222 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Sun, 27 Apr 2008 09:42:17 -0700 Subject: Use fixed sized types in new ioctls Make both crtc and the command argument 32 bits to avoid any 32-on-64 compat issues. --- linux-core/drm_irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-core') 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; -- cgit v1.2.3