WARNING: line length of 86 exceeds 80 columns #82: FILE: tools/testing/selftests/bpf/prog_tests/test_veristat.c:162: + __CHECK_STR("Unsupported array element type for variable ptr_arr", "ptr_arr"); WARNING: line length of 106 exceeds 80 columns #112: FILE: tools/testing/selftests/bpf/prog_tests/test_veristat.c:192: + __CHECK_STR("Can't resolve EG2 enum as an array indexFailed to set global variables", "arr[EG2]"); WARNING: line length of 95 exceeds 80 columns #134: FILE: tools/testing/selftests/bpf/prog_tests/test_veristat.c:214: + __CHECK_STR("Array index is not expected for struct3", "union1.struct3[0].var_u8_l=1"); WARNING: line length of 95 exceeds 80 columns #156: FILE: tools/testing/selftests/bpf/prog_tests/test_veristat.c:236: + __CHECK_STR("Array index is expected for struct2", "struct1[0].struct2.u.var_u8[2]=1"); WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #210: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:20: +const volatile i32 var_s32 = -1; WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #216: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:25: +const volatile u8 var_u8 = 0; WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #221: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:30: +const volatile i32 arr[32]; WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #222: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:31: +const volatile enum Enum enum_arr[32]; WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #223: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:32: +const volatile i32 matrix[32][32]; WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #224: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:33: +const volatile i32 *ptr_arr[32]; WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #233: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:46: + const volatile u8 var_u8[3]; WARNING: line length of 86 exceeds 80 columns #244: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:55: +const volatile struct Struct struct1[3] = {{.struct2 = {{}, {.u = {.var_u8 = {1}}}}}}; WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #244: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:55: +const volatile struct Struct struct1[3] = {{.struct2 = {{}, {.u = {.var_u8 = {1}}}}}}; WARNING: do not add new typedefs #268: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:68: +typedef struct Struct3 Struct3_t; WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #276: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:75: +const volatile union Union union1 = {.var_u16 = -1}; total: 0 errors, 15 warnings, 0 checks, 260 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 5fd083fa275d ("selftests/bpf: test array presets in veristat") 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, 15 warnings, 0 checks, 260 lines checked