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:518: + * 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:520: + 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:521: + 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:547: + /* zeroing is needed, since alloc_pages_bulk() only fills in non-zero entries */ WARNING: line length of 83 exceeds 80 columns #104: FILE: kernel/bpf/arena.c:551: + 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:555: + /* 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:559: + * kern_vm_start + uaddr32 + page_cnt * PAGE_SIZE - 1 can overflow WARNING: line length of 91 exceeds 80 columns #116: FILE: kernel/bpf/arena.c:563: + kern_vm_start + uaddr32 + (mapped << PAGE_SHIFT), WARNING: line length of 95 exceeds 80 columns #117: FILE: kernel/bpf/arena.c:564: + this_batch << PAGE_SHIFT, apply_range_set_cb, &data); WARNING: line length of 91 exceeds 80 columns #119: FILE: kernel/bpf/arena.c:566: + /* data.i pages were mapped, account them and free the remaining */ WARNING: line length of 92 exceeds 80 columns #138: FILE: kernel/bpf/arena.c:583: + arena_free_pages(arena, clear_lo32(arena->user_vm_start) + uaddr32, mapped); total: 0 errors, 12 warnings, 0 checks, 121 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 07633ebb7e79 ("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, 121 lines checked