WARNING: line length of 98 exceeds 80 columns #57: FILE: include/uapi/linux/bpf.h:1375: + BPF_F_CPU = 8, /* cpu flag for percpu maps, upper 32-bit of flags is a cpu number */ WARNING: line length of 81 exceeds 80 columns #71: 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 #107: 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 #152: FILE: kernel/bpf/arraymap.c:439: + copy_map_value_long(map, per_cpu_ptr(pptr, cpu), value + off); WARNING: line length of 87 exceeds 80 columns #159: FILE: kernel/bpf/arraymap.c:446: + bpf_obj_free_fields(array->map.record, per_cpu_ptr(pptr, cpu)); WARNING: line length of 97 exceeds 80 columns #176: FILE: kernel/bpf/syscall.c:136: + if (map->map_type == BPF_MAP_TYPE_PERCPU_ARRAY && (flags & (BPF_F_CPU | BPF_F_ALL_CPUS))) CHECK: Alignment should match open parenthesis #179: FILE: kernel/bpf/syscall.c:139: + else if (map->map_type == BPF_MAP_TYPE_PERCPU_HASH || map->map_type == BPF_MAP_TYPE_LRU_PERCPU_HASH || WARNING: line length of 84 exceeds 80 columns #196: FILE: kernel/bpf/syscall.c:1661: + if (check_flag && ((u32)flags & ~(BPF_F_LOCK | BPF_F_CPU | BPF_F_ALL_CPUS))) CHECK: Alignment should match open parenthesis #206: FILE: kernel/bpf/syscall.c:1671: + if ((flags & (BPF_F_CPU | BPF_F_ALL_CPUS)) && + map->map_type != BPF_MAP_TYPE_PERCPU_ARRAY) WARNING: line length of 98 exceeds 80 columns #265: FILE: tools/include/uapi/linux/bpf.h:1375: + BPF_F_CPU = 8, /* cpu flag for percpu maps, upper 32-bit of flags is a cpu number */ total: 0 errors, 8 warnings, 2 checks, 200 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 04c8f1d9746c ("bpf: Introduce BPF_F_CPU flag for percpu_array maps") 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, 8 warnings, 2 checks, 200 lines checked