diff options
| author | Daniel T. Lee <[email protected]> | 2019-11-07 00:51:52 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2019-11-09 03:19:43 +0000 |
| commit | afbe3c27d9ae151be33ccd6b05699d3c49dabad2 (patch) | |
| tree | 6199d27c3dfba6d334ec4d66f84009b0075dce0f /tools/lib/bpf/netlink.c | |
| parent | bpf: Add cb access in kfree_skb test (diff) | |
| download | kernel-afbe3c27d9ae151be33ccd6b05699d3c49dabad2.tar.gz kernel-afbe3c27d9ae151be33ccd6b05699d3c49dabad2.zip | |
samples: bpf: Update outdated error message
Currently, under samples, several methods are being used to load bpf
program.
Since using libbpf is preferred solution, lots of previously used
'load_bpf_file' from bpf_load are replaced with 'bpf_prog_load_xattr'
from libbpf.
But some of the error messages still show up as 'load_bpf_file' instead
of 'bpf_prog_load_xattr'.
This commit fixes outdated errror messages under samples and fixes some
code style issues.
Signed-off-by: Daniel T. Lee <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/lib/bpf/netlink.c')
0 files changed, 0 insertions, 0 deletions
