Muhammad Falak R Wani 9b6519009d 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-06-25 10:40:33 -07:00
..
2016-06-25 10:40:33 -07:00
2013-06-29 12:57:30 +04:00
2016-06-25 09:04:48 -07:00
2016-06-25 09:04:48 -07:00