]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - include/uapi/linux/bpf.h
bpf: Fix bpf_ringbuf_output() signature to return long
authorAndrii Nakryiko <andriin@fb.com>
Mon, 27 Jul 2020 22:47:15 +0000 (15:47 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 28 Jul 2020 10:20:44 +0000 (12:20 +0200)
commite1613b5714ee6c186c9628e9958edf65e9d9cddd
tree07ff33ff9f44fa48a3a4cce1044a7b6a1273068f
parent9a97c9d2af5ca798377342debf7f0f44281d050e
bpf: Fix bpf_ringbuf_output() signature to return long

Due to bpf tree fix merge, bpf_ringbuf_output() signature ended up with int as
a return type, while all other helpers got converted to returning long. So fix
it in bpf-next now.

Fixes: b0659d8a950d ("bpf: Fix definition of bpf_ringbuf_output() helper in UAPI comments")
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20200727224715.652037-1-andriin@fb.com
include/uapi/linux/bpf.h
tools/include/uapi/linux/bpf.h