WARNING: line length of 149 exceeds 80 columns #102: FILE: tools/testing/selftests/bpf/prog_tests/arena_atomics.c:171: + printf("%s:SKIP: ENABLE_ATOMICS_TESTS not defined, Clang doesn't support addr_space_cast, and/or JIT doesn't support load-acquire\n", WARNING: line length of 150 exceeds 80 columns #132: FILE: tools/testing/selftests/bpf/prog_tests/arena_atomics.c:201: + printf("%s:SKIP: ENABLE_ATOMICS_TESTS not defined, Clang doesn't support addr_space_cast, and/or JIT doesn't support store-release\n", WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #361: new file mode 100644 CHECK: Lines should not end with a '(' #382: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:17: + asm volatile ( WARNING: line length of 83 exceeds 80 columns #389: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:24: + BPF_ATOMIC_OP(BPF_B, BPF_LOAD_ACQ, BPF_REG_0, BPF_REG_10, -1)) CHECK: Lines should not end with a '(' #398: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:33: + asm volatile ( WARNING: line length of 83 exceeds 80 columns #405: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:40: + BPF_ATOMIC_OP(BPF_H, BPF_LOAD_ACQ, BPF_REG_0, BPF_REG_10, -2)) CHECK: Lines should not end with a '(' #414: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:49: + asm volatile ( WARNING: line length of 83 exceeds 80 columns #421: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:56: + BPF_ATOMIC_OP(BPF_W, BPF_LOAD_ACQ, BPF_REG_0, BPF_REG_10, -4)) CHECK: Lines should not end with a '(' #430: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:65: + asm volatile ( WARNING: line length of 84 exceeds 80 columns #437: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:72: + BPF_ATOMIC_OP(BPF_DW, BPF_LOAD_ACQ, BPF_REG_0, BPF_REG_10, -8)) CHECK: Lines should not end with a '(' #446: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:81: + asm volatile ( WARNING: line length of 82 exceeds 80 columns #451: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:86: + BPF_ATOMIC_OP(BPF_DW, BPF_LOAD_ACQ, BPF_REG_0, BPF_REG_2, 0)) CHECK: Lines should not end with a '(' #460: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:95: + asm volatile ( WARNING: line length of 82 exceeds 80 columns #466: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:101: + BPF_ATOMIC_OP(BPF_DW, BPF_LOAD_ACQ, BPF_REG_0, BPF_REG_1, 0)) CHECK: Lines should not end with a '(' #476: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:111: + asm volatile ( WARNING: line length of 83 exceeds 80 columns #483: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:118: + BPF_ATOMIC_OP(BPF_W, BPF_LOAD_ACQ, BPF_REG_0, BPF_REG_10, -5)) CHECK: Lines should not end with a '(' #492: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:127: + asm volatile ( WARNING: line length of 81 exceeds 80 columns #497: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:132: + BPF_ATOMIC_OP(BPF_B, BPF_LOAD_ACQ, BPF_REG_0, BPF_REG_1, 0)) CHECK: Lines should not end with a '(' #506: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:141: + asm volatile ( WARNING: line length of 81 exceeds 80 columns #513: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:148: + BPF_ATOMIC_OP(BPF_B, BPF_LOAD_ACQ, BPF_REG_0, BPF_REG_2, 0)) CHECK: Lines should not end with a '(' #522: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:157: + asm volatile ( WARNING: line length of 81 exceeds 80 columns #530: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:165: + BPF_ATOMIC_OP(BPF_B, BPF_LOAD_ACQ, BPF_REG_0, BPF_REG_2, 0)) CHECK: Lines should not end with a '(' #539: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:174: + asm volatile ( WARNING: line length of 81 exceeds 80 columns #546: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:181: + BPF_ATOMIC_OP(BPF_B, BPF_LOAD_ACQ, BPF_REG_0, BPF_REG_2, 0)) WARNING: line length of 128 exceeds 80 columns #553: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:188: +__description("Clang version < 18, ENABLE_ATOMICS_TESTS not defined, and/or JIT doesn't support load-acquire, use a dummy test") WARNING: line length of 95 exceeds 80 columns #585: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:100: +__msg("mark_precise: frame0: regs=r2 stack= before 2: (db) r2 = load_acquire((u64 *)(r10 -8))") WARNING: line length of 82 exceeds 80 columns #586: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:101: +__msg("mark_precise: frame0: regs= stack=-8 before 1: (7b) *(u64 *)(r10 -8) = r1") CHECK: Lines should not end with a '(' #590: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:105: + asm volatile ( WARNING: line length of 81 exceeds 80 columns #593: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:108: + ".8byte %[load_acquire_insn];" /* r2 = load_acquire((u64 *)(r10 - 8)); */ WARNING: line length of 84 exceeds 80 columns #600: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:115: + BPF_ATOMIC_OP(BPF_DW, BPF_LOAD_ACQ, BPF_REG_2, BPF_REG_10, -8)) WARNING: line length of 82 exceeds 80 columns #607: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:122: +__msg("mark_precise: frame0: regs=r1 stack= before 2: (79) r1 = *(u64 *)(r10 -8)") WARNING: line length of 95 exceeds 80 columns #608: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:123: +__msg("mark_precise: frame0: regs= stack=-8 before 1: (db) store_release((u64 *)(r10 -8), r1)") CHECK: Lines should not end with a '(' #612: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:127: + asm volatile ( WARNING: line length of 82 exceeds 80 columns #614: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:129: + ".8byte %[store_release_insn];" /* store_release((u64 *)(r10 - 8), r1); */ WARNING: line length of 85 exceeds 80 columns #622: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:137: + BPF_ATOMIC_OP(BPF_DW, BPF_STORE_REL, BPF_REG_10, BPF_REG_1, -8)) CHECK: Lines should not end with a '(' #652: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:17: + asm volatile ( WARNING: line length of 84 exceeds 80 columns #659: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:24: + BPF_ATOMIC_OP(BPF_B, BPF_STORE_REL, BPF_REG_10, BPF_REG_1, -1)) CHECK: Lines should not end with a '(' #668: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:33: + asm volatile ( WARNING: line length of 84 exceeds 80 columns #675: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:40: + BPF_ATOMIC_OP(BPF_H, BPF_STORE_REL, BPF_REG_10, BPF_REG_1, -2)) CHECK: Lines should not end with a '(' #684: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:49: + asm volatile ( WARNING: line length of 84 exceeds 80 columns #691: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:56: + BPF_ATOMIC_OP(BPF_W, BPF_STORE_REL, BPF_REG_10, BPF_REG_1, -4)) CHECK: Lines should not end with a '(' #700: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:65: + asm volatile ( WARNING: line length of 85 exceeds 80 columns #707: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:72: + BPF_ATOMIC_OP(BPF_DW, BPF_STORE_REL, BPF_REG_10, BPF_REG_1, -8)) CHECK: Lines should not end with a '(' #716: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:81: + asm volatile ( WARNING: line length of 85 exceeds 80 columns #721: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:86: + BPF_ATOMIC_OP(BPF_DW, BPF_STORE_REL, BPF_REG_10, BPF_REG_2, -8)) CHECK: Lines should not end with a '(' #730: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:95: + asm volatile ( WARNING: line length of 84 exceeds 80 columns #736: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:101: + BPF_ATOMIC_OP(BPF_DW, BPF_STORE_REL, BPF_REG_2, BPF_REG_1, -8)) CHECK: Lines should not end with a '(' #745: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:110: + asm volatile ( WARNING: line length of 83 exceeds 80 columns #751: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:116: + BPF_ATOMIC_OP(BPF_DW, BPF_STORE_REL, BPF_REG_1, BPF_REG_1, 0)) CHECK: Lines should not end with a '(' #761: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:126: + asm volatile ( WARNING: line length of 84 exceeds 80 columns #767: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:132: + BPF_ATOMIC_OP(BPF_W, BPF_STORE_REL, BPF_REG_10, BPF_REG_0, -5)) CHECK: Lines should not end with a '(' #776: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:141: + asm volatile ( WARNING: line length of 82 exceeds 80 columns #782: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:147: + BPF_ATOMIC_OP(BPF_B, BPF_STORE_REL, BPF_REG_1, BPF_REG_0, 0)) CHECK: Lines should not end with a '(' #791: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:156: + asm volatile ( WARNING: line length of 82 exceeds 80 columns #799: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:164: + BPF_ATOMIC_OP(BPF_B, BPF_STORE_REL, BPF_REG_2, BPF_REG_0, 0)) CHECK: Lines should not end with a '(' #808: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:173: + asm volatile ( WARNING: line length of 82 exceeds 80 columns #817: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:182: + BPF_ATOMIC_OP(BPF_B, BPF_STORE_REL, BPF_REG_2, BPF_REG_0, 0)) CHECK: Lines should not end with a '(' #826: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:191: + asm volatile ( WARNING: line length of 82 exceeds 80 columns #834: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:199: + BPF_ATOMIC_OP(BPF_B, BPF_STORE_REL, BPF_REG_2, BPF_REG_0, 0)) CHECK: Lines should not end with a '(' #843: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:208: + asm volatile ( WARNING: line length of 85 exceeds 80 columns #849: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:214: + BPF_ATOMIC_OP(BPF_DW, BPF_STORE_REL, BPF_REG_10, BPF_REG_1, -8)) CHECK: Lines should not end with a '(' #866: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:231: + asm volatile ( WARNING: quoted string split across lines #877: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:242: +"l0_%=:" + "r0 = 0;" WARNING: line length of 83 exceeds 80 columns #883: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:248: + BPF_ATOMIC_OP(BPF_DW, BPF_STORE_REL, BPF_REG_0, BPF_REG_6, 0)) WARNING: line length of 129 exceeds 80 columns #890: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:255: +__description("Clang version < 18, ENABLE_ATOMICS_TESTS not defined, and/or JIT doesn't support store-release, use a dummy test") total: 0 errors, 39 warnings, 27 checks, 772 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 019cb335cd65 ("selftests/bpf: Add selftests for load-acquire and store-release instructions") 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, 39 warnings, 27 checks, 772 lines checked