WARNING: line length of 89 exceeds 80 columns #108: FILE: kernel/bpf/hashtab.c:2779: + rhtab->elem_size = sizeof(struct rhtab_elem) + round_up(rhtab->map.key_size, 8) + WARNING: line length of 96 exceeds 80 columns #182: FILE: kernel/bpf/hashtab.c:2853: + bpf_map_free_internal_structs(&rhtab->map, rhtab_elem_value(elem, rhtab->map.key_size)); WARNING: line length of 83 exceeds 80 columns #198: FILE: kernel/bpf/hashtab.c:2869: + /* Using constant zeroed params to force rhashtable use inlined hashfunc */ WARNING: line length of 83 exceeds 80 columns #207: FILE: kernel/bpf/hashtab.c:2878: +static void *rhtab_map_lookup_elem(struct bpf_map *map, void *key) __must_hold(RCU) WARNING: line length of 90 exceeds 80 columns #237: FILE: kernel/bpf/hashtab.c:2908: +static void rhtab_read_elem_value(struct bpf_map *map, void *dst, struct rhtab_elem *elem, WARNING: line length of 99 exceeds 80 columns #248: FILE: kernel/bpf/hashtab.c:2919: +static int rhtab_map_lookup_and_delete_elem(struct bpf_map *map, void *key, void *value, u64 flags) WARNING: line length of 96 exceeds 80 columns #274: FILE: kernel/bpf/hashtab.c:2945: +static long rhtab_map_update_existing(struct bpf_map *map, struct rhtab_elem *elem, void *value, WARNING: line length of 93 exceeds 80 columns #289: FILE: kernel/bpf/hashtab.c:2960: +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 #297: FILE: kernel/bpf/hashtab.c:2968: + if ((map_flags & BPF_F_LOCK) && !btf_record_has_field(map->record, BPF_SPIN_LOCK)) WARNING: line length of 88 exceeds 80 columns #319: FILE: kernel/bpf/hashtab.c:2990: + tmp = rhashtable_lookup_get_insert_fast(&rhtab->ht, &elem->node, rhtab->params); WARNING: line length of 85 exceeds 80 columns #337: FILE: kernel/bpf/hashtab.c:3008: + (void *(*)(struct bpf_map *map, void *key)) NULL)); WARNING: line length of 96 exceeds 80 columns #341: FILE: kernel/bpf/hashtab.c:3012: + offsetof(struct rhtab_elem, data) + round_up(map->key_size, 8)); WARNING: line length of 81 exceeds 80 columns #350: FILE: kernel/bpf/hashtab.c:3021: +static int rhtab_map_get_next_key(struct bpf_map *map, void *key, void *next_key) WARNING: line length of 87 exceeds 80 columns #355: FILE: kernel/bpf/hashtab.c:3026: +static void rhtab_map_seq_show_elem(struct bpf_map *map, void *key, struct seq_file *m) WARNING: line length of 82 exceeds 80 columns #370: FILE: kernel/bpf/hashtab.c:3041: +static int rhtab_map_lookup_batch(struct bpf_map *map, const union bpf_attr *attr, WARNING: line length of 93 exceeds 80 columns #376: FILE: kernel/bpf/hashtab.c:3047: +static int rhtab_map_lookup_and_delete_batch(struct bpf_map *map, const union bpf_attr *attr, WARNING: line length of 82 exceeds 80 columns #408: FILE: kernel/bpf/hashtab.c:3079: +static int bpf_iter_init_rhash_map(void *priv_data, struct bpf_iter_aux_info *aux) total: 0 errors, 17 warnings, 0 checks, 448 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 5ba7b645d6a8 ("bpf: Implement resizable hashmap basic functions") 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, 17 warnings, 0 checks, 448 lines checked