Re: [PATCH bpf] bpf: fix definition of bpf_ringbuf_output() helper in UAPI comments

2020-06-15 Thread Daniel Borkmann
On 6/15/20 11:49 PM, Andrii Nakryiko wrote: Fix definition of bpf_ringbuf_output() in UAPI header comments, which is used to generate libbpf's bpf_helper_defs.h header. Return value is a number (erro code), not a pointer. Fixes: 457f44363a88 ("bpf: Implement BPF ring buffer and verifier support

[PATCH bpf] bpf: fix definition of bpf_ringbuf_output() helper in UAPI comments

2020-06-15 Thread Andrii Nakryiko
Fix definition of bpf_ringbuf_output() in UAPI header comments, which is used to generate libbpf's bpf_helper_defs.h header. Return value is a number (erro code), not a pointer. Fixes: 457f44363a88 ("bpf: Implement BPF ring buffer and verifier support for it") Signed-off-by: Andrii Nakryiko ---