diff options
author | Muhammad Falak R Wani <falakreyaz@gmail.com> | 2016-05-20 17:48:56 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-31 13:18:10 +0200 |
commit | 655745b0d1ebeceb0453f1c6adca154a4fac0ad5 (patch) | |
tree | 038d825baf87f9f7a7845c52e3203aa2d0ef41fc /drivers/vme/vme.c | |
parent | b58189b3c5cf54689a0c154e4d9cff918a29ab0b (diff) | |
download | talos-op-linux-655745b0d1ebeceb0453f1c6adca154a4fac0ad5.tar.gz talos-op-linux-655745b0d1ebeceb0453f1c6adca154a4fac0ad5.zip |
VMCI: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/vme/vme.c')
0 files changed, 0 insertions, 0 deletions