WARNING: line length of 90 exceeds 80 columns #75: FILE: tools/testing/selftests/bpf/prog_tests/test_veristat.c:153: + __CHECK_STR("Can't set ptr_arr[0]. Only ints and enums are supported", "ptr_arr"); WARNING: line length of 95 exceeds 80 columns #127: FILE: tools/testing/selftests/bpf/prog_tests/test_veristat.c:205: + __CHECK_STR("Array index is not expected for struct3", "union1.struct3[0].var_u8_l=1"); WARNING: line length of 83 exceeds 80 columns #142: FILE: tools/testing/selftests/bpf/prog_tests/test_veristat.c:220: + __CHECK_STR("Can't set arr. Only ints and enums are supported", "arr = 1"); WARNING: line length of 104 exceeds 80 columns #149: FILE: tools/testing/selftests/bpf/prog_tests/test_veristat.c:227: + __CHECK_STR("Can't resolve field u for non-composite type", "struct1[0].struct2.u.var_u8[2]=1"); WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #201: 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 #207: 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 #212: 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 #213: 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 #214: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:32: +const volatile i32 three_d[47][19][17]; WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #215: 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 #224: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:46: + const volatile u8 var_u8[3]; WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #236: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:56: +const volatile struct Struct struct1[3]; WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #237: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:57: +const volatile struct Struct struct11[11][7]; WARNING: do not add new typedefs #261: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:70: +typedef struct Struct3 Struct3_t; WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #269: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:77: +const volatile union Union union1 = {.var_u16 = -1}; total: 0 errors, 15 warnings, 0 checks, 256 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 f08891b30c61 ("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, 256 lines checked