diff options
| author | Andrii Nakryiko <[email protected]> | 2019-06-10 17:46:55 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2019-06-11 06:39:50 +0000 |
| commit | c7cebffea2c7086850e4affeb9f232d34ae30f11 (patch) | |
| tree | 503c9743c66ea696b84e91f4d821fa12e7824ef7 /tools/testing/selftests/bpf/progs/sockmap_tcp_msg_prog.c | |
| parent | samples: bpf: don't run probes at the local make stage (diff) | |
| download | kernel-c7cebffea2c7086850e4affeb9f232d34ae30f11.tar.gz kernel-c7cebffea2c7086850e4affeb9f232d34ae30f11.zip | |
selftests/bpf: fix constness of source arg for bpf helpers
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 <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/sockmap_tcp_msg_prog.c')
0 files changed, 0 insertions, 0 deletions
