summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorMuhammad Falak R Wani <falakreyaz@gmail.com>2016-07-21 00:53:18 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-07-21 00:57:30 (GMT)
commit0097ff3d5dad1f76c5e1099d849d52509500708c (patch)
tree8b0e6655a0bd9b907a8785d683b1f556af8907b3 /drivers/input
parentc1d7b7c1817aceaa93e5f255fc0ea23f327bcd40 (diff)
downloadlinux-0097ff3d5dad1f76c5e1099d849d52509500708c.tar.xz
Input: tty/vt/keyboard - use memdup_user()
Use memdup_user to duplicate a memory region from user-space to kernel-space, instead of open coding using kmalloc & copy_from_user. Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com> Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions