WARNING: line length of 149 exceeds 80 columns #101: 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 #131: 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? #357: new file mode 100644 CHECK: Lines should not end with a '(' #378: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:17: + asm volatile ( WARNING: line length of 83 exceeds 80 columns #385: 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 '(' #394: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:33: + asm volatile ( WARNING: line length of 83 exceeds 80 columns #401: 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 '(' #410: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:49: + asm volatile ( WARNING: line length of 83 exceeds 80 columns #417: 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 '(' #426: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:65: + asm volatile ( WARNING: line length of 84 exceeds 80 columns #433: 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 '(' #442: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:81: + asm volatile ( WARNING: line length of 82 exceeds 80 columns #447: 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 '(' #456: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:95: + asm volatile ( WARNING: line length of 82 exceeds 80 columns #462: 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 '(' #472: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:111: + asm volatile ( WARNING: line length of 83 exceeds 80 columns #479: 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 '(' #488: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:127: + asm volatile ( WARNING: line length of 81 exceeds 80 columns #493: 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 '(' #502: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:141: + asm volatile ( WARNING: line length of 81 exceeds 80 columns #509: 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 '(' #518: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:157: + asm volatile ( WARNING: line length of 81 exceeds 80 columns #526: 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 '(' #535: FILE: tools/testing/selftests/bpf/progs/verifier_load_acquire.c:174: + asm volatile ( WARNING: line length of 81 exceeds 80 columns #542: 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 #549: 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 #580: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:99: +__msg("mark_precise: frame0: regs=r2 stack= before 2: (db) r2 = load_acquire((u64 *)(r10 -8))") WARNING: line length of 82 exceeds 80 columns #581: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:100: +__msg("mark_precise: frame0: regs= stack=-8 before 1: (7b) *(u64 *)(r10 -8) = r1") CHECK: Lines should not end with a '(' #585: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:104: + asm volatile ( WARNING: line length of 81 exceeds 80 columns #588: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:107: + ".8byte %[load_acquire_insn];" /* r2 = load_acquire((u64 *)(r10 - 8)); */ WARNING: line length of 84 exceeds 80 columns #595: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:114: + BPF_ATOMIC_OP(BPF_DW, BPF_LOAD_ACQ, BPF_REG_2, BPF_REG_10, -8)) WARNING: line length of 82 exceeds 80 columns #602: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:121: +__msg("mark_precise: frame0: regs=r1 stack= before 2: (79) r1 = *(u64 *)(r10 -8)") WARNING: line length of 95 exceeds 80 columns #603: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:122: +__msg("mark_precise: frame0: regs= stack=-8 before 1: (db) store_release((u64 *)(r10 -8), r1)") CHECK: Lines should not end with a '(' #607: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:126: + asm volatile ( WARNING: line length of 82 exceeds 80 columns #609: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:128: + ".8byte %[store_release_insn];" /* store_release((u64 *)(r10 - 8), r1); */ WARNING: line length of 85 exceeds 80 columns #617: FILE: tools/testing/selftests/bpf/progs/verifier_precision.c:136: + BPF_ATOMIC_OP(BPF_DW, BPF_STORE_REL, BPF_REG_10, BPF_REG_1, -8)) CHECK: Lines should not end with a '(' #647: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:17: + asm volatile ( WARNING: line length of 84 exceeds 80 columns #654: 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 '(' #663: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:33: + asm volatile ( WARNING: line length of 84 exceeds 80 columns #670: 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 '(' #679: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:49: + asm volatile ( WARNING: line length of 84 exceeds 80 columns #686: 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 '(' #695: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:65: + asm volatile ( WARNING: line length of 85 exceeds 80 columns #702: 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 '(' #711: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:81: + asm volatile ( WARNING: line length of 85 exceeds 80 columns #716: 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 '(' #725: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:95: + asm volatile ( WARNING: line length of 84 exceeds 80 columns #731: 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 '(' #740: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:110: + asm volatile ( WARNING: line length of 83 exceeds 80 columns #746: 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 '(' #756: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:126: + asm volatile ( WARNING: line length of 84 exceeds 80 columns #762: 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 '(' #771: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:141: + asm volatile ( WARNING: line length of 82 exceeds 80 columns #777: 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 '(' #786: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:156: + asm volatile ( WARNING: line length of 82 exceeds 80 columns #794: 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 '(' #803: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:173: + asm volatile ( WARNING: line length of 82 exceeds 80 columns #812: 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 '(' #821: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:191: + asm volatile ( WARNING: line length of 82 exceeds 80 columns #829: 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 '(' #838: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:208: + asm volatile ( WARNING: line length of 85 exceeds 80 columns #844: 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 '(' #861: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:231: + asm volatile ( WARNING: quoted string split across lines #872: FILE: tools/testing/selftests/bpf/progs/verifier_store_release.c:242: +"l0_%=:" + "r0 = 0;" WARNING: line length of 83 exceeds 80 columns #878: 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 #885: 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, 768 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 9a0cbe1d31fb ("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, 768 lines checked