]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: Use u64_to_user_ptr()
authorMickaël Salaün <mic@digikod.net>
Sun, 13 Nov 2016 18:44:03 +0000 (19:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Nov 2016 21:23:08 +0000 (16:23 -0500)
commit8158f01fc8b34ae8e48bac92b5f4aa9b13728b15
tree61305a75098f973b439c7614cca12e921bf65adb
parent7d38491b8395c82a998301635c3ffd56b889fc77
bpf: Use u64_to_user_ptr()

Replace the custom u64_to_ptr() function with the u64_to_user_ptr()
macro.

Signed-off-by: Mickaël Salaün <mic@digikod.net>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/bpf/syscall.c