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 92 exceeds 80 columns #49: 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 #50: FILE: kernel/bpf/arena.c:518: + alloc_pages = min(page_cnt, KMALLOC_MAX_CACHE_SIZE / sizeof(struct page *)); WARNING: line length of 85 exceeds 80 columns #51: FILE: kernel/bpf/arena.c:519: + pages = kmalloc_nolock(alloc_pages * sizeof(struct page *), 0, NUMA_NO_NODE); WARNING: line length of 96 exceeds 80 columns #98: 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 #101: FILE: kernel/bpf/arena.c:548: + ret = bpf_map_alloc_pages(&arena->map, node_id, this_batch, pages); WARNING: line length of 83 exceeds 80 columns #106: 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 #110: 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 #115: FILE: kernel/bpf/arena.c:562: + kern_vm_start + uaddr32 + (mapped << PAGE_SHIFT), WARNING: line length of 95 exceeds 80 columns #116: FILE: kernel/bpf/arena.c:563: + this_batch << PAGE_SHIFT, apply_range_set_cb, &data); WARNING: line length of 91 exceeds 80 columns #118: FILE: kernel/bpf/arena.c:565: + /* data.i pages were mapped, account them and free the remaining */ WARNING: line length of 92 exceeds 80 columns #137: FILE: kernel/bpf/arena.c:582: + arena_free_pages(arena, clear_lo32(arena->user_vm_start) + uaddr32, mapped); total: 0 errors, 12 warnings, 0 checks, 120 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 4f55b636cb43 ("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. total: 0 errors, 12 warnings, 0 checks, 120 lines checked