WARNING: line length of 87 exceeds 80 columns #38: FILE: kernel/bpf/helpers.c:3116: +BTF_ID_FLAGS(func, bpf_iter_kmem_cache_next, KF_ITER_NEXT | KF_RET_NULL | KF_SLEEPABLE) WARNING: Prefer __aligned(8) over __attribute__((aligned(8))) #54: FILE: kernel/bpf/kmem_cache_iter.c:14: +} __attribute__((aligned(8))); WARNING: Prefer __aligned(8) over __attribute__((aligned(8))) #58: FILE: kernel/bpf/kmem_cache_iter.c:18: +} __attribute__((aligned(8))); WARNING: line length of 87 exceeds 80 columns #75: FILE: kernel/bpf/kmem_cache_iter.c:35: +__bpf_kfunc struct kmem_cache *bpf_iter_kmem_cache_next(struct bpf_iter_kmem_cache *it) CHECK: Comparison to NULL could be written "!s" #126: FILE: kernel/bpf/kmem_cache_iter.c:86: + if (s == NULL || s == KMEM_CACHE_POS_START) total: 0 errors, 4 warnings, 1 checks, 209 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 00a67ac15b27 ("bpf: Add open coded version of kmem_cache iterator") 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, 4 warnings, 1 checks, 209 lines checked