the supplied buffer is not needed.
This is also consistant with all the other pr_warning() statements
in this file which all use strerror().
Also fixes a possible initialization issue.
Cc: Wang Nan
Cc: Alexei Starovoitov
Cc: Daniel Borkmann
Signed-off-by: Thomas Richter
---
tools/lib/bpf
:check get-map-info(next_id->fd) 0 nsec
test_bpf_obj_id:PASS:check total map id found by get_next_id 0 nsec
test_pkt_md_access:PASS: 277 nsec
Summary: 30 PASSED, 0 FAILED
[root@s8360046 bpf]#
Signed-off-by: Thomas Richter
Acked-by: Daniel Borkmann
---
tools/testing/selftests/bpf/test_pkt_md_access.c | 11