WARNING: line length of 81 exceeds 80 columns #27: FILE: kernel/bpf/arena.c:46: +static void arena_free_pages(struct bpf_arena *arena, long uaddr, long page_cnt); WARNING: line length of 89 exceeds 80 columns #50: FILE: kernel/bpf/arena.c:517: + * Cap allocation size to KMALLOC_MAX_CACHE_SIZE so kmalloc_nolock() can succeed. WARNING: line length of 84 exceeds 80 columns #52: FILE: kernel/bpf/arena.c:519: + alloc_pages = min(page_cnt, KMALLOC_MAX_CACHE_SIZE / sizeof(struct page *)); WARNING: line length of 85 exceeds 80 columns #53: FILE: kernel/bpf/arena.c:520: + pages = kmalloc_nolock(alloc_pages * sizeof(struct page *), 0, NUMA_NO_NODE); ERROR: space required before the open parenthesis '(' #88: FILE: kernel/bpf/arena.c:543: + while(remaining) { WARNING: line length of 96 exceeds 80 columns #90: FILE: kernel/bpf/arena.c:545: + /* zeroing is needed, since alloc_pages_bulk() only fills in non-zero entries */ WARNING: line length of 83 exceeds 80 columns #94: FILE: kernel/bpf/arena.c:549: + ret = bpf_map_alloc_pages(&arena->map, node_id, this_batch, pages); WARNING: line length of 83 exceeds 80 columns #98: FILE: kernel/bpf/arena.c:553: + /* Earlier checks made sure that uaddr32 + page_cnt * PAGE_SIZE - 1 WARNING: line length of 82 exceeds 80 columns #102: FILE: kernel/bpf/arena.c:557: + * kern_vm_start + uaddr32 + page_cnt * PAGE_SIZE - 1 can overflow WARNING: line length of 91 exceeds 80 columns #106: FILE: kernel/bpf/arena.c:561: + kern_vm_start + uaddr32 + (mapped << PAGE_SHIFT), WARNING: line length of 95 exceeds 80 columns #107: FILE: kernel/bpf/arena.c:562: + this_batch << PAGE_SHIFT, apply_range_set_cb, &data); WARNING: line length of 91 exceeds 80 columns #109: FILE: kernel/bpf/arena.c:564: + /* data.i pages were mapped, account them and free the remaining */ WARNING: line length of 92 exceeds 80 columns #128: FILE: kernel/bpf/arena.c:581: + arena_free_pages(arena, clear_lo32(arena->user_vm_start) + uaddr32, mapped); total: 1 errors, 12 warnings, 0 checks, 109 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 5cc5dbdd2c59 ("bpf: arena: use kmalloc_nolock() in place of kvcalloc()") 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.