Skip to content

Commit 2254f63

Browse files
committed
drm/nouveau: fix up 32-bit ioctls and device wake up.
Noticed by kbuild test robot. Signed-off-by: Dave Airlie <[email protected]>
1 parent a5b6f74 commit 2254f63

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

drivers/gpu/drm/nouveau/nouveau_ioc32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ long nouveau_compat_ioctl(struct file *filp, unsigned int cmd,
6363
if (fn != NULL)
6464
ret = (*fn)(filp, cmd, arg);
6565
else
66-
ret = drm_ioctl(filp, cmd, arg);
66+
ret = nouveau_drm_ioctl(filp, cmd, arg);
6767

6868
return ret;
6969
}

drivers/gpu/drm/nouveau/nouveau_ioctl.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
#define __NOUVEAU_IOCTL_H__
33

44
long nouveau_compat_ioctl(struct file *, unsigned int cmd, unsigned long arg);
5+
long nouveau_drm_ioctl(struct file *, unsigned int cmd, unsigned long arg);
56

67
#endif

0 commit comments

Comments
 (0)