WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #160: 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 #166: 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 #171: 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 #172: 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 #173: 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 #174: 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 #183: 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 #194: 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 #194: 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 #218: 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 #226: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:75: +const volatile union Union union1 = {.var_u16 = -1}; total: 0 errors, 11 warnings, 0 checks, 210 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 52be874a5bcc ("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, 11 warnings, 0 checks, 210 lines checked