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 94 exceeds 80 columns #162: FILE: kernel/bpf/arraymap.c:441: + copy_map_value_long(map, per_cpu_ptr(pptr, cpu), value + off); WARNING: line length of 88 exceeds 80 columns #165: FILE: kernel/bpf/arraymap.c:444: + copy_map_value_long(map, per_cpu_ptr(pptr, cpu), value); WARNING: line length of 87 exceeds 80 columns #167: FILE: kernel/bpf/arraymap.c:446: + bpf_obj_free_fields(array->map.record, per_cpu_ptr(pptr, cpu)); CHECK: Alignment should match open parenthesis #184: FILE: kernel/bpf/syscall.c:135: + if ((flags & BPF_F_CPU) && + map->map_type == BPF_MAP_TYPE_PERCPU_ARRAY) CHECK: Alignment should match open parenthesis #248: 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 #262: FILE: kernel/bpf/syscall.c:1992: + err = bpf_map_update_value(map, map_file, key, value, elem_flags); CHECK: Alignment should match open parenthesis #287: 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, 278 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 96c29d431fc0 ("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, 278 lines checked