WARNING: suspect code indent for conditional statements (8, 15) #67: FILE: kernel/bpf/arraymap.c:602: if (info->percpu_value_buf) + return array->ptrs[index]; WARNING: Statements should start on a tabstop #69: FILE: kernel/bpf/arraymap.c:603: + return array->ptrs[index]; WARNING: suspect code indent for conditional statements (8, 15) #76: FILE: kernel/bpf/arraymap.c:621: if (info->percpu_value_buf) + return array->ptrs[index]; WARNING: Statements should start on a tabstop #78: FILE: kernel/bpf/arraymap.c:622: + return array->ptrs[index]; WARNING: Missing a blank line after declarations #111: FILE: kernel/bpf/hashtab.c:1053: + void *ptr = bpf_mem_cache_alloc(&htab->pcpu_ma); + if (!ptr) { WARNING: line length of 92 exceeds 80 columns #132: FILE: kernel/bpf/helpers.c:717: + return (unsigned long)per_cpu_ptr((const void __percpu *)(const uintptr_t)ptr, cpu); WARNING: line length of 95 exceeds 80 columns #141: FILE: kernel/bpf/helpers.c:730: + return (unsigned long)this_cpu_ptr((const void __percpu *)(const uintptr_t)percpu_ptr); WARNING: line length of 81 exceeds 80 columns #156: FILE: kernel/bpf/memalloc.c:142: + void __percpu *pptr = __alloc_percpu_gfp(c->unit_size, 8, flags); total: 0 errors, 8 warnings, 0 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 501075a60a10 ("bpf: Fix percpu address space issues") 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, 8 warnings, 0 checks, 102 lines checked