diff options
author | 2016-05-20 18:51:20 +0530 | |
---|---|---|
committer | 2016-06-13 15:58:12 +0200 | |
commit | fd346c9dae6b266f8c3f62df20237059a3a90312 (patch) | |
tree | 33658f9b194c4737d949e7a9e75b3d3181418679 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | KVM: s390/mm: Fix CMMA reset during reboot (diff) | |
download | wireguard-linux-fd346c9dae6b266f8c3f62df20237059a3a90312.tar.xz wireguard-linux-fd346c9dae6b266f8c3f62df20237059a3a90312.zip |
s390/keyboard: use memdup_user_nul()
Use memdup_user_nul to duplicate a memory region from user-space
to kernel-space and terminate with a NULL, instead of open coding
using kmalloc + copy_from_user and explicitly NULL terminating.
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
[heiko.carstens@de.ibm.com: remove comment]
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions