summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_probe_helper.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2015-01-13 08:12:17 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-01-21 16:57:04 +0300
commit42c5814c9c9828a7fcbe25f69c5c8cbbf29ed957 (patch)
tree62d0dc1c32cad08cc07eebcf34287e6837eeece8 /drivers/gpu/drm/drm_probe_helper.c
parentcdd1cf799bd24ac0a4184549601ae302267301c5 (diff)
downloadlinux-42c5814c9c9828a7fcbe25f69c5c8cbbf29ed957.tar.xz
next: drm/atomic: Use copy_from_user to copy 64 bit data from user space
Copying 64 bit data from user space using get_user is not supported on all architectures, and may result in the following build error. ERROR: "__get_user_bad" [drivers/gpu/drm/drm.ko] undefined! Avoid the problem by using copy_from_user. Fixes: d34f20d6e2f2 ("drm: Atomic modeset ioctl") Cc: Rob Clark <robdclark@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_probe_helper.c')
0 files changed, 0 insertions, 0 deletions