]> git.karo-electronics.de Git - linux-beck.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)
commit535e7b4b5ef220be374b895684f274872aebd0f8
tree61305a75098f973b439c7614cca12e921bf65adb
parenta788859649b75a6e4514337a9a5d4a60fd709904
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