CHECK: Please use a blank line after function/struct/union/enum declarations #87: FILE: kernel/bpf/bpf_local_storage.c:29: +}; +static DEFINE_PER_CPU(struct bpf_deferred_free_rcu, bpf_deferred_free_rcu); CHECK: Please use a blank line after function/struct/union/enum declarations #93: FILE: kernel/bpf/bpf_local_storage.c:35: +}; +static DEFINE_PER_CPU(struct bpf_deferred_free_work, bpf_deferred_free_work); WARNING: line length of 88 exceeds 80 columns #107: FILE: kernel/bpf/bpf_local_storage.c:285: + struct hlist_head *selem_list = per_cpu_ptr(&bpf_deferred_selem_free_list, cpu); WARNING: line length of 92 exceeds 80 columns #108: FILE: kernel/bpf/bpf_local_storage.c:286: + struct hlist_head *storage_list = per_cpu_ptr(&bpf_deferred_storage_free_list, cpu); WARNING: line length of 87 exceeds 80 columns #120: FILE: kernel/bpf/bpf_local_storage.c:298: + hlist_for_each_entry_safe(local_storage, n, storage_list, deferred_free_node) { WARNING: line length of 88 exceeds 80 columns #131: FILE: kernel/bpf/bpf_local_storage.c:309: + struct bpf_deferred_free_work *work = per_cpu_ptr(&bpf_deferred_free_work, cpu); WARNING: line length of 88 exceeds 80 columns #143: FILE: kernel/bpf/bpf_local_storage.c:321: + struct hlist_head *deferred_selem = this_cpu_ptr(&bpf_deferred_selem_free_list); WARNING: line length of 92 exceeds 80 columns #144: FILE: kernel/bpf/bpf_local_storage.c:322: + struct hlist_head *deferred_storage = this_cpu_ptr(&bpf_deferred_storage_free_list); WARNING: line length of 90 exceeds 80 columns #145: FILE: kernel/bpf/bpf_local_storage.c:323: + struct bpf_deferred_free_rcu *deferred_rcu = this_cpu_ptr(&bpf_deferred_free_rcu); WARNING: line length of 85 exceeds 80 columns #153: FILE: kernel/bpf/bpf_local_storage.c:331: + hlist_add_head(&local_storage->deferred_free_node, deferred_storage); WARNING: line length of 82 exceeds 80 columns #155: FILE: kernel/bpf/bpf_local_storage.c:333: + if (atomic_cmpxchg(this_cpu_ptr(&bpf_deferred_free_pending), 0, 1) == 0) { WARNING: line length of 81 exceeds 80 columns #166: FILE: kernel/bpf/bpf_local_storage.c:344: + INIT_HLIST_HEAD(per_cpu_ptr(&bpf_deferred_selem_free_list, cpu)); WARNING: line length of 83 exceeds 80 columns #167: FILE: kernel/bpf/bpf_local_storage.c:345: + INIT_HLIST_HEAD(per_cpu_ptr(&bpf_deferred_storage_free_list, cpu)); WARNING: line length of 89 exceeds 80 columns #187: FILE: kernel/bpf/bpf_local_storage.c:513: + bpf_selem_unlink_defer_free(&selem_free_list, local_storage, free_local_storage); total: 0 errors, 12 warnings, 2 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 818168a8297a ("bpf: Always defer local storage free") 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, 12 warnings, 2 checks, 124 lines checked