switch compat_drm_getstats() to drm_ioctl_kernel()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 24 May 2017 23:18:06 +0000 (19:18 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 27 May 2017 19:39:33 +0000 (15:39 -0400)
commit8547ee9d448be87858f59e3590fc54fc2574cd05
tree22d2bb0c780f303d70d4a5f5e71612276324beb4
parent9e92662d01d87a54ee076cd1fcab8b199f6456eb
switch compat_drm_getstats() to drm_ioctl_kernel()

The reason we call drm_ioctl_kernel() at all is that we want error
handling; conversions would be pointless there - user buffer is
simply zeroed.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/gpu/drm/drm_ioc32.c