[PATCH v2] perf build: Build error in libbpf with EXTRA_CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -O2"

2018-07-25 Thread Thomas Richter
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

[PATCHv2] bpf: fix selftest/bpf/test_pkt_md_access on s390x

2017-08-07 Thread Thomas Richter
: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