drm: Don't leak phys_wc "handles" to userspace
authorAndy Lutomirski <luto@amacapital.net>
Mon, 13 May 2013 23:58:48 +0000 (23:58 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 31 May 2013 03:37:39 +0000 (13:37 +1000)
commit0dd99f1bfc8a3661f095c00f9f86f5bafbd4fdff
tree20f13d7a2e54acff0871bc92d111665e80dd0668
parent03dae7c567d24c49e826a033df45802ac9d1d6c8
drm: Don't leak phys_wc "handles" to userspace

I didn't fix this in the earlier patch -- it would have broken the
build due to the now-deleted garbage in drm_os_linux.h.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_bufs.c
drivers/gpu/drm/drm_ioctl.c