WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #60: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:26: +const volatile __s32 arr[5]; WARNING: Use of volatile is usually wrong: see Documentation/process/volatile-considered-harmful.rst #69: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:39: + const volatile __u8 var_u8[3]; WARNING: line length of 86 exceeds 80 columns #80: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:48: +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 #80: FILE: tools/testing/selftests/bpf/progs/set_global_vars.c:48: +const volatile struct Struct struct1[3] = {{.struct2 = {{}, {.u = {.var_u8 = {1}}}}}}; WARNING: line length of 95 exceeds 80 columns #113: FILE: tools/testing/selftests/bpf/veristat.c:1382: + if (sscanf(expr, "%[][a-zA-Z0-9_.] = %s %n", var, val, &n) != 2 || n != strlen(expr)) { WARNING: line length of 88 exceeds 80 columns #144: FILE: tools/testing/selftests/bpf/veristat.c:1512: + fprintf(stderr, "Preset index %s is invalid or out of bounds [0, %d]\n", WARNING: line length of 85 exceeds 80 columns #185: FILE: tools/testing/selftests/bpf/veristat.c:1561: + struct btf_var_secinfo sinfo = {.offset = 0}; WARNING: line length of 84 exceeds 80 columns #187: FILE: tools/testing/selftests/bpf/veristat.c:1563: + err = adjust_array_secinfo(btf, member_type, WARNING: line length of 88 exceeds 80 columns #188: FILE: tools/testing/selftests/bpf/veristat.c:1564: + &sinfo, member_name); total: 0 errors, 9 warnings, 0 checks, 174 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 7fa6449d8175 ("selftests/bpf: support 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, 9 warnings, 0 checks, 174 lines checked