WARNING: line length of 97 exceeds 80 columns #93: FILE: include/linux/bpf.h:523: +static inline void copy_map_value_user(struct bpf_map *map, void *dst, void *src, bool from_user) WARNING: line length of 81 exceeds 80 columns #95: FILE: include/linux/bpf.h:525: + bpf_obj_memcpy(map->record, dst, src, map->value_size, false, from_user); WARNING: line length of 94 exceeds 80 columns #163: FILE: kernel/bpf/bpf_local_storage.c:103: + copy_map_value_user(&smap->map, SDATA(selem)->data, value, from_user); WARNING: line length of 88 exceeds 80 columns #184: FILE: kernel/bpf/bpf_local_storage.c:555: + selem = bpf_selem_alloc(smap, owner, value, true, gfp_flags, from_user); WARNING: line length of 94 exceeds 80 columns #204: FILE: kernel/bpf/bpf_local_storage.c:589: + alloc_selem = selem = bpf_selem_alloc(smap, owner, value, true, gfp_flags, from_user); CHECK: multiple assignments should be avoided #204: FILE: kernel/bpf/bpf_local_storage.c:589: + alloc_selem = selem = bpf_selem_alloc(smap, owner, value, true, gfp_flags, from_user); WARNING: line length of 86 exceeds 80 columns #333: FILE: kernel/bpf/syscall.c:215: + npages = (((intptr_t)addr + size + ~PAGE_MASK) - (intptr_t)ptr) >> PAGE_SHIFT; WARNING: line length of 89 exceeds 80 columns #371: FILE: kernel/bpf/syscall.c:253: + bpf_obj_unpin_uaddr(&rec->fields[i], *(void **)(src + next_off)); WARNING: line length of 81 exceeds 80 columns #397: FILE: kernel/bpf/syscall.c:279: + bpf_obj_unpin_uaddr(&rec->fields[i], *(void **)(src + next_off)); WARNING: line length of 81 exceeds 80 columns #402: FILE: kernel/bpf/syscall.c:284: +static int bpf_map_update_value_inner(struct bpf_map *map, struct file *map_file, WARNING: line length of 81 exceeds 80 columns #454: FILE: kernel/bpf/syscall.c:1313: + if (map->map_type != BPF_MAP_TYPE_TASK_STORAGE) { WARNING: line length of 87 exceeds 80 columns #485: FILE: kernel/bpf/syscall.c:1822: + err = bpf_map_update_value(map, f.file, key, value, attr->flags | extra_flags); WARNING: line length of 81 exceeds 80 columns #511: FILE: kernel/bpf/syscall.c:2061: + attr->batch.elem_flags | extra_flags); WARNING: line length of 81 exceeds 80 columns #524: FILE: net/core/bpf_sk_storage.c:140: + copy_selem = bpf_selem_alloc(smap, newsk, NULL, true, GFP_ATOMIC, false); total: 0 errors, 13 warnings, 1 checks, 432 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 053a7f192212 ("bpf: pin, translate, and unpin __kptr_user from syscalls.") 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, 13 warnings, 1 checks, 432 lines checked