WARNING: line length of 81 exceeds 80 columns #44: FILE: include/linux/bpf.h:2699: +int bpf_percpu_hash_copy(struct bpf_map *map, void *key, void *value, u64 flags); WARNING: line length of 86 exceeds 80 columns #87: FILE: include/linux/bpf.h:3748: +static inline int bpf_map_check_flags(struct bpf_map *map, u64 flags, bool check_flag) WARNING: line length of 84 exceeds 80 columns #89: FILE: include/linux/bpf.h:3750: + if (check_flag && ((u32)flags & ~(BPF_F_LOCK | BPF_F_CPU | BPF_F_ALL_CPUS))) WARNING: line length of 86 exceeds 80 columns #92: FILE: include/linux/bpf.h:3753: + if ((flags & BPF_F_LOCK) && !btf_record_has_field(map->record, BPF_SPIN_LOCK)) WARNING: line length of 96 exceeds 80 columns #98: FILE: include/linux/bpf.h:3759: + if ((flags & (BPF_F_CPU | BPF_F_ALL_CPUS)) && !bpf_map_support_cpu_flags(map->map_type)) WARNING: line length of 90 exceeds 80 columns #192: FILE: kernel/bpf/hashtab.c:947: + copy_map_value(&htab->map, (map_flags & BPF_F_CPU) && cpu != current_cpu ? WARNING: line length of 83 exceeds 80 columns #193: FILE: kernel/bpf/hashtab.c:948: + per_cpu_ptr(pptr, cpu) : this_cpu_ptr(pptr), value); WARNING: line length of 96 exceeds 80 columns #201: FILE: kernel/bpf/hashtab.c:955: + per_cpu_ptr(pptr, cpu) : this_cpu_ptr(pptr), value); WARNING: line length of 83 exceeds 80 columns #238: FILE: kernel/bpf/hashtab.c:1002: + struct htab_elem *old_elem, u64 map_flags) WARNING: line length of 82 exceeds 80 columns #293: FILE: kernel/bpf/hashtab.c:1324: + hash, percpu, onallcpus, NULL, map_flags); WARNING: line length of 97 exceeds 80 columns #353: FILE: kernel/bpf/hashtab.c:1839: + copy_map_value_long(&htab->map, dst_val, per_cpu_ptr(pptr, cpu)); WARNING: line length of 86 exceeds 80 columns #357: FILE: kernel/bpf/hashtab.c:1843: + copy_map_value_long(&htab->map, dst_val + off, WARNING: line length of 84 exceeds 80 columns #358: FILE: kernel/bpf/hashtab.c:1844: + per_cpu_ptr(pptr, cpu)); WARNING: line length of 92 exceeds 80 columns #359: FILE: kernel/bpf/hashtab.c:1845: + check_and_init_map_value(&htab->map, dst_val + off); WARNING: line length of 84 exceeds 80 columns #370: FILE: kernel/bpf/hashtab.c:2403: +int bpf_percpu_hash_copy(struct bpf_map *map, void *key, void *value, u64 map_flags) WARNING: line length of 86 exceeds 80 columns #401: FILE: kernel/bpf/hashtab.c:2434: + copy_map_value_long(map, value + off, per_cpu_ptr(pptr, cpu)); WARNING: line length of 95 exceeds 80 columns #417: FILE: kernel/bpf/syscall.c:136: + if (bpf_map_support_cpu_flags(map->map_type) && (flags & (BPF_F_CPU | BPF_F_ALL_CPUS))) total: 0 errors, 17 warnings, 0 checks, 413 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 d44ca8a65928 ("bpf: Introduce BPF_F_CPU flag for percpu_hash and lru_percpu_hash 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, 17 warnings, 0 checks, 413 lines checked