Re: [PATCH bpf-next] selftests/bpf: fix constness of source arg for bpf helpers

2019-06-10 Thread Alexei Starovoitov
On Mon, Jun 10, 2019 at 10:48 AM Andrii Nakryiko wrote: > > Fix signature of bpf_probe_read and bpf_probe_write_user to mark source > pointer as const. This causes warnings during compilation for > applications relying on those helpers. > > Signed-off-by: Andrii Nakryiko Applied. Thanks

Re: [PATCH bpf-next] selftests/bpf: fix constness of source arg for bpf helpers

2019-06-10 Thread Martin Lau
On Mon, Jun 10, 2019 at 10:46:55AM -0700, Andrii Nakryiko wrote: > Fix signature of bpf_probe_read and bpf_probe_write_user to mark source > pointer as const. This causes warnings during compilation for > applications relying on those helpers. Acked-by: Martin KaFai Lau

[PATCH bpf-next] selftests/bpf: fix constness of source arg for bpf helpers

2019-06-10 Thread Andrii Nakryiko
Fix signature of bpf_probe_read and bpf_probe_write_user to mark source pointer as const. This causes warnings during compilation for applications relying on those helpers. Signed-off-by: Andrii Nakryiko --- tools/testing/selftests/bpf/bpf_helpers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 d