WARNING: line length of 87 exceeds 80 columns #35: FILE: kernel/bpf/helpers.c:3115: +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))) #51: FILE: kernel/bpf/kmem_cache_iter.c:151: +} __attribute__((aligned(8))); WARNING: Prefer __aligned(8) over __attribute__((aligned(8))) #55: FILE: kernel/bpf/kmem_cache_iter.c:155: +} __attribute__((aligned(8))); WARNING: line length of 87 exceeds 80 columns #70: FILE: kernel/bpf/kmem_cache_iter.c:170: +__bpf_kfunc struct kmem_cache *bpf_iter_kmem_cache_next(struct bpf_iter_kmem_cache *it) CHECK: Comparison to NULL could be written "!prev" #84: FILE: kernel/bpf/kmem_cache_iter.c:184: + if (prev == NULL) CHECK: Comparison to NULL could be written "!s" #116: FILE: kernel/bpf/kmem_cache_iter.c:216: + if (s == NULL) total: 0 errors, 4 warnings, 2 checks, 102 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 6a02fee02f50 ("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, 2 checks, 102 lines checked