WARNING: line length of 83 exceeds 80 columns #44: FILE: kernel/bpf/hashtab.c:2784: + /* Using constant zeroed params to force rhashtable use inlined hashfunc */ WARNING: line length of 96 exceeds 80 columns #67: FILE: kernel/bpf/hashtab.c:2806: + bpf_map_free_internal_structs(&rhtab->map, rhtab_elem_value(elem, rhtab->map.key_size)); WARNING: line length of 90 exceeds 80 columns #83: FILE: kernel/bpf/hashtab.c:2821: +static void rhtab_read_elem_value(struct bpf_map *map, void *dst, struct rhtab_elem *elem, WARNING: line length of 88 exceeds 80 columns #102: FILE: kernel/bpf/hashtab.c:2839: + ((flags & BPF_F_LOCK) && !btf_record_has_field(map->record, BPF_SPIN_LOCK))) WARNING: line length of 96 exceeds 80 columns #122: FILE: kernel/bpf/hashtab.c:2858: +static long rhtab_map_update_existing(struct bpf_map *map, struct rhtab_elem *elem, void *value, WARNING: line length of 96 exceeds 80 columns #130: FILE: kernel/bpf/hashtab.c:2865: + copy_map_value_locked(map, rhtab_elem_value(elem, map->key_size), value, false); WARNING: line length of 82 exceeds 80 columns #132: FILE: kernel/bpf/hashtab.c:2867: + copy_map_value(map, rhtab_elem_value(elem, map->key_size), value); WARNING: line length of 93 exceeds 80 columns #137: FILE: kernel/bpf/hashtab.c:2871: +static long rhtab_map_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags) WARNING: line length of 90 exceeds 80 columns #145: FILE: kernel/bpf/hashtab.c:2879: + if ((map_flags & BPF_F_LOCK) && !btf_record_has_field(map->record, BPF_SPIN_LOCK)) WARNING: line length of 88 exceeds 80 columns #167: FILE: kernel/bpf/hashtab.c:2901: + tmp = rhashtable_lookup_get_insert_fast(&rhtab->ht, &elem->node, rhtab->params); WARNING: line length of 85 exceeds 80 columns #186: FILE: kernel/bpf/hashtab.c:2919: + (void *(*)(struct bpf_map *map, void *key)) NULL)); WARNING: line length of 96 exceeds 80 columns #190: FILE: kernel/bpf/hashtab.c:2923: + offsetof(struct rhtab_elem, data) + round_up(map->key_size, 8)); total: 0 errors, 12 warnings, 0 checks, 173 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 7dd47f56ad92 ("bpf: Implement lookup, delete, update for resizable hashtab") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES 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, 12 warnings, 0 checks, 173 lines checked