WARNING: line length of 81 exceeds 80 columns #78: FILE: kernel/bpf/arraymap.c:298: +int bpf_percpu_array_copy(struct bpf_map *map, void *key, void *value, u64 flags) WARNING: line length of 86 exceeds 80 columns #114: FILE: kernel/bpf/arraymap.c:328: + copy_map_value_long(map, value + off, per_cpu_ptr(pptr, cpu)); WARNING: line length of 86 exceeds 80 columns #157: FILE: kernel/bpf/arraymap.c:438: + copy_map_value_long(map, per_cpu_ptr(pptr, cpu), value + off); WARNING: line length of 86 exceeds 80 columns #158: FILE: kernel/bpf/arraymap.c:439: + /* same user-provided value is used if BPF_F_CPU is specified, WARNING: line length of 87 exceeds 80 columns #163: FILE: kernel/bpf/arraymap.c:444: + bpf_obj_free_fields(array->map.record, per_cpu_ptr(pptr, cpu)); CHECK: Alignment should match open parenthesis #200: FILE: kernel/bpf/syscall.c:1669: + if (((u32)attr->flags & ~(BPF_F_LOCK | BPF_F_CPU)) || + (!((u32)attr->flags & BPF_F_CPU) && attr->flags >> 32)) CHECK: Alignment should match open parenthesis #244: FILE: kernel/bpf/syscall.c:1962: + if ((elem_flags & BPF_F_CPU) && + map->map_type != BPF_MAP_TYPE_PERCPU_ARRAY) WARNING: line length of 82 exceeds 80 columns #258: FILE: kernel/bpf/syscall.c:1992: + err = bpf_map_update_value(map, map_file, key, value, elem_flags); CHECK: Alignment should match open parenthesis #283: FILE: kernel/bpf/syscall.c:2029: + if ((elem_flags & BPF_F_CPU) && + map->map_type != BPF_MAP_TYPE_PERCPU_ARRAY) total: 0 errors, 6 warnings, 3 checks, 274 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 20aa318c481c ("bpf: Introduce BPF_F_CPU flag for percpu_array map") 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, 6 warnings, 3 checks, 274 lines checked