WARNING: line length of 87 exceeds 80 columns #87: FILE: tools/testing/selftests/bpf/progs/bpf_misc.h:113: + * __caps_unpriv Specify the capabilities that should be set when running the test. WARNING: line length of 109 exceeds 80 columns #95: FILE: tools/testing/selftests/bpf/progs/bpf_misc.h:137: +#define __caps_unpriv(caps) __attribute__((btf_decl_tag("comment:test_caps_unpriv=" EXPAND_QUOTE(caps)))) CHECK: spaces preferred around that '|' (ctx:VxV) #115: FILE: tools/testing/selftests/bpf/progs/verifier_mtu.c:10: +__caps_unpriv(CAP_BPF|CAP_NET_ADMIN) ^ WARNING: Missing a blank line after declarations #150: FILE: tools/testing/selftests/bpf/test_loader.c:287: + char *str_cpy = strdup(str); + if (str_cpy == NULL) { CHECK: Comparison to NULL could be written "!str_cpy" #150: FILE: tools/testing/selftests/bpf/test_loader.c:287: + if (str_cpy == NULL) { CHECK: Comparison to NULL could be written "token" #156: FILE: tools/testing/selftests/bpf/test_loader.c:293: + while (token != NULL) { WARNING: line length of 102 exceeds 80 columns #159: FILE: tools/testing/selftests/bpf/test_loader.c:296: + PRINT_FAIL("define %s constant in bpf_misc.h, failed to parse caps\n", token); WARNING: line length of 103 exceeds 80 columns #198: FILE: tools/testing/selftests/bpf/test_loader.c:962: + PRINT_FAIL("failed to set capabilities: %i, %s\n", err, strerror(err)); total: 0 errors, 5 warnings, 3 checks, 141 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 fc02603c6c18 ("selftests/bpf: Introduce __caps_unpriv annotation for tests") 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, 5 warnings, 3 checks, 141 lines checked