WARNING: line length of 81 exceeds 80 columns #27: FILE: kernel/bpf/arena.c:47: +static void arena_free_pages(struct bpf_arena *arena, long uaddr, long page_cnt); WARNING: line length of 92 exceeds 80 columns #50: FILE: kernel/bpf/arena.c:525: + /* Cap allocation size to KMALLOC_MAX_CACHE_SIZE so kmalloc_nolock() can succeed. */ WARNING: line length of 84 exceeds 80 columns #51: FILE: kernel/bpf/arena.c:526: + alloc_pages = min(page_cnt, KMALLOC_MAX_CACHE_SIZE / sizeof(struct page *)); WARNING: line length of 85 exceeds 80 columns #52: FILE: kernel/bpf/arena.c:527: + pages = kmalloc_nolock(alloc_pages * sizeof(struct page *), 0, NUMA_NO_NODE); WARNING: line length of 96 exceeds 80 columns #100: FILE: kernel/bpf/arena.c:553: + /* zeroing is needed, since alloc_pages_bulk() only fills in non-zero entries */ WARNING: line length of 83 exceeds 80 columns #103: FILE: kernel/bpf/arena.c:556: + ret = bpf_map_alloc_pages(&arena->map, node_id, this_batch, pages); WARNING: line length of 83 exceeds 80 columns #108: FILE: kernel/bpf/arena.c:561: + * Earlier checks made sure that uaddr32 + page_cnt * PAGE_SIZE - 1 WARNING: line length of 82 exceeds 80 columns #112: FILE: kernel/bpf/arena.c:565: + * kern_vm_start + uaddr32 + page_cnt * PAGE_SIZE - 1 can overflow WARNING: line length of 91 exceeds 80 columns #117: FILE: kernel/bpf/arena.c:570: + kern_vm_start + uaddr32 + (mapped << PAGE_SHIFT), WARNING: line length of 95 exceeds 80 columns #118: FILE: kernel/bpf/arena.c:571: + this_batch << PAGE_SHIFT, apply_range_set_cb, &data); WARNING: line length of 91 exceeds 80 columns #120: FILE: kernel/bpf/arena.c:573: + /* data.i pages were mapped, account them and free the remaining */ total: 0 errors, 11 warnings, 0 checks, 126 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 c9f811f1520b ("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, 11 warnings, 0 checks, 126 lines checked