WARNING: line length of 82 exceeds 80 columns #124: FILE: kernel/bpf/helpers.c:1171: + u32 __pad; /* Left for binary compatibility, previously stored spinlock */ WARNING: line length of 94 exceeds 80 columns #188: FILE: kernel/bpf/helpers.c:1271: + /* Both timer and wq callbacks run under RCU lock, UAF should not be possible there */ WARNING: line length of 96 exceeds 80 columns #265: FILE: kernel/bpf/helpers.c:1335: + /* Lost the race to initialize this bpf_async_kern, drop the allocated object */ WARNING: line length of 89 exceeds 80 columns #335: FILE: kernel/bpf/helpers.c:1459: + if (!atomic64_try_cmpxchg_release(&cb->last_seq, &expected, BPF_ASYNC_DESTROYED)) WARNING: line length of 84 exceeds 80 columns #350: FILE: kernel/bpf/helpers.c:1474: + if (last_seq > U32_MAX) /* Check if terminal seq num has been set */ WARNING: line length of 83 exceeds 80 columns #415: FILE: kernel/bpf/helpers.c:1525: +BPF_CALL_3(bpf_timer_start, struct bpf_async_kern *, async, u64, nsecs, u64, flags) WARNING: line length of 81 exceeds 80 columns #535: FILE: kernel/bpf/helpers.c:1639: + struct bpf_hrtimer *t = container_of(cb, struct bpf_hrtimer, cb); WARNING: line length of 86 exceeds 80 columns #551: FILE: kernel/bpf/helpers.c:1643: + hrtimer_start(&t->timer, ns_to_ktime(timer_nsec), timer_mode); WARNING: line length of 83 exceeds 80 columns #570: FILE: kernel/bpf/helpers.c:1662: + * RCU grace period ensures callback completes before free. WARNING: line length of 82 exceeds 80 columns #584: FILE: kernel/bpf/helpers.c:1676: + struct bpf_async_cb *cb = container_of(work, struct bpf_async_cb, worker); total: 0 errors, 10 warnings, 0 checks, 586 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 4ae8c42ecfb9 ("bpf: Enable bpf timer and workqueue use in NMI") 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, 10 warnings, 0 checks, 586 lines checked