diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-08-29 11:42:07 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-08-29 11:42:07 +0200 |
commit | 416b0c0faf634abc09568885cb95266ce669c606 (patch) | |
tree | bf63b94f57246fbf264c93bfdd6233395b07ef89 /tools | |
parent | c0bb80cfa3c37fd92f066e328d83656067519a5f (diff) | |
parent | 9c3a815f471a84811cf8021cf64aae3b8081dfde (diff) | |
download | op-kernel-dev-416b0c0faf634abc09568885cb95266ce669c606.zip op-kernel-dev-416b0c0faf634abc09568885cb95266ce669c606.tar.gz |
Merge branch 'linus' into x86/apic, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lib/bpf/libbpf.c | 3 | ||||
-rwxr-xr-x | tools/testing/selftests/ntb/ntb_test.sh | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c index 1a2c07e..8c67a90 100644 --- a/tools/lib/bpf/libbpf.c +++ b/tools/lib/bpf/libbpf.c @@ -879,7 +879,8 @@ bpf_object__create_maps(struct bpf_object *obj) size_t j; int err = *pfd; - pr_warning("failed to create map: %s\n", + pr_warning("failed to create map (name: '%s'): %s\n", + obj->maps[i].name, strerror(errno)); for (j = 0; j < i; j++) zclose(obj->maps[j].fd); diff --git a/tools/testing/selftests/ntb/ntb_test.sh b/tools/testing/selftests/ntb/ntb_test.sh index 1c12b58..5fc7ad3 100755 --- a/tools/testing/selftests/ntb/ntb_test.sh +++ b/tools/testing/selftests/ntb/ntb_test.sh @@ -333,6 +333,10 @@ function ntb_tool_tests() link_test $LOCAL_TOOL $REMOTE_TOOL link_test $REMOTE_TOOL $LOCAL_TOOL + #Ensure the link is up on both sides before continuing + write_file Y $LOCAL_TOOL/link_event + write_file Y $REMOTE_TOOL/link_event + for PEER_TRANS in $(ls $LOCAL_TOOL/peer_trans*); do PT=$(basename $PEER_TRANS) write_file $MW_SIZE $LOCAL_TOOL/$PT |