WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #46: new file mode 100644 WARNING: line length of 82 exceeds 80 columns #182: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:29: + # If BPF_DIR is a mount point this will not remove the mount point itself. WARNING: line length of 84 exceeds 80 columns #188: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:35: + # create multiple mounts. For example, a bind mount of the directory WARNING: line length of 82 exceeds 80 columns #189: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:36: + # to itself. The bind mount is created to change mount propagation WARNING: line length of 84 exceeds 80 columns #193: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:40: + while mountpoint -q "$BPF_DIR" && [ $attempt -lt $max_attempts ]; do WARNING: line length of 91 exceeds 80 columns #257: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:104: + "$bpftool_path" map update name "$map_name" key $key 0 0 0 value 0 0 0 $key WARNING: line length of 90 exceeds 80 columns #274: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:121: + if ! "$bpftool_path" map lookup "$name_cmd" "$map_name" key $key 1>/dev/null; then WARNING: line length of 83 exceeds 80 columns #280: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:127: + if ! "$bpftool_path" btf dump map "$name_cmd" "$map_name" 1>/dev/null; then WARNING: line length of 98 exceeds 80 columns #304: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:151: + echo " Write access to $key in $map_name succeeded but should have failed" WARNING: line length of 98 exceeds 80 columns #309: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:156: + echo " Write access to $key in $map_name failed but should have succeeded" WARNING: line length of 90 exceeds 80 columns #332: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:179: + if ! "$bpftool_path" map lookup "$name_cmd" "$map_name" key $key 1>/dev/null; then WARNING: line length of 88 exceeds 80 columns #338: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:185: + if "$bpftool_path" map delete "$name_cmd" "$map_name" key $key 2>/dev/null; then WARNING: line length of 95 exceeds 80 columns #340: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:187: + echo " Deletion for $key in $map_name succeeded but should have failed" WARNING: line length of 95 exceeds 80 columns #345: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:192: + echo " Deletion for $key in $map_name failed but should have succeeded" WARNING: line length of 85 exceeds 80 columns #350: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:197: + # After deleting, check the entry existence according to the expected status. WARNING: line length of 88 exceeds 80 columns #351: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:198: + if "$bpftool_path" map lookup "$name_cmd" "$map_name" key $key 1>/dev/null; then WARNING: line length of 99 exceeds 80 columns #353: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:200: + echo " Key $key for $map_name was not deleted but should have been deleted" WARNING: line length of 98 exceeds 80 columns #358: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:205: + echo "Key $key for $map_name was deleted but should have not been deleted" WARNING: line length of 121 exceeds 80 columns #368: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:215: + echo " Write access to $key in $map_name succeeded after deletion attempt but should have failed" WARNING: line length of 121 exceeds 80 columns #373: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:220: + echo " Write access to $key in $map_name failed after deletion attempt but should have succeeded" WARNING: line length of 84 exceeds 80 columns #394: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:241: + "$bpftool_path" iter pin "$bpf_file" "$pin_path" map "$name_cmd" "$map_name" WARNING: line length of 83 exceeds 80 columns #427: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:274: + access_for_deletion "$name_cmd" "$map_name" "$bpftool_path" "$key_to_del" \ WARNING: line length of 83 exceeds 80 columns #477: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:324: + echo " Failed to create inner map file at $bpf_dir/$outer_map_name" WARNING: line length of 81 exceeds 80 columns #481: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:328: + "$bpftool_path" map create "$bpf_dir/$outer_map_name" type hash_of_maps \ WARNING: line length of 95 exceeds 80 columns #482: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:329: + key 4 value 4 entries 2 name "$outer_map_name" inner_map name "$inner_map_name" WARNING: line length of 83 exceeds 80 columns #484: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:331: + echo " Failed to create outer map file at $bpf_dir/$outer_map_name" WARNING: line length of 82 exceeds 80 columns #489: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:336: + "$bpftool_path" map update pinned "$bpf_dir/$outer_map_name" key 0 0 0 0 \ WARNING: line length of 85 exceeds 80 columns #496: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:343: + if "$bpftool_path" map update name "$outer_map_name" key 2 0 0 0 value name \ WARNING: line length of 83 exceeds 80 columns #498: FILE: tools/testing/selftests/bpf/test_bpftool_map.sh:345: + echo " Update for $outer_map_name succeeded but should have failed" total: 0 errors, 29 warnings, 0 checks, 496 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 2e04942c0ee9 ("selftests/bpf: Add test for bpftool access to read-only protected maps") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 29 warnings, 0 checks, 496 lines checked