WARNING: Missing a blank line after declarations #43: FILE: tools/testing/selftests/bpf/prog_tests/refcounted_kptr.c:55: + u64 *values; + LIBBPF_OPTS(bpf_test_run_opts, opts, WARNING: line length of 81 exceeds 80 columns #67: FILE: tools/testing/selftests/bpf/prog_tests/refcounted_kptr.c:79: + err = bpf_map__update_elem(map, &key, sizeof(key), values, values_sz, 0); WARNING: line length of 81 exceeds 80 columns #78: FILE: tools/testing/selftests/bpf/prog_tests/refcounted_kptr.c:90: + err = bpf_map__update_elem(map, &key, sizeof(key), values, values_sz, 0); CHECK: No space is necessary after a cast #106: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr.c:577: + bpf_probe_read_kernel(&refcount, sizeof(refcount), (void *) ref); WARNING: line length of 83 exceeds 80 columns #110: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr.c:581: +static int __insert_in_list(struct bpf_list_head *head, struct bpf_spin_lock *lock, CHECK: spaces preferred around that '*' (ctx:WxO) #111: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr.c:582: + struct node_data __kptr **node) ^ CHECK: No space is necessary after a cast #129: FILE: tools/testing/selftests/bpf/progs/refcounted_kptr.c:600: + ref = (u64)(void *) &m->ref; total: 0 errors, 4 warnings, 3 checks, 124 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 65a26e43f757 ("selftests/bpf: Add test to verify freeing the special fields when update [lru_,]percpu_hash maps") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES 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, 4 warnings, 3 checks, 124 lines checked