WARNING: line length of 88 exceeds 80 columns #83: FILE: kernel/bpf/hashtab.c:446: + if ((attr->map_extra >> 32) || bpf_dynptr_check_size(attr->map_extra) || WARNING: line length of 81 exceeds 80 columns #148: FILE: kernel/bpf/hashtab.c:664: + hash = jhash(key + offset, field->offset - offset, hash); WARNING: line length of 87 exceeds 80 columns #180: FILE: kernel/bpf/hashtab.c:699: +static bool is_same_dynptr_key(const void *key, const void *tgt, unsigned int key_size, WARNING: line length of 92 exceeds 80 columns #224: FILE: kernel/bpf/hashtab.c:743: +static inline bool htab_is_same_key(const void *key, const void *tgt, unsigned int key_size, WARNING: line length of 97 exceeds 80 columns #235: FILE: kernel/bpf/hashtab.c:752: +static __always_inline struct htab_elem *lookup_elem_raw(struct hlist_nulls_head *head, u32 hash, WARNING: line length of 81 exceeds 80 columns #236: FILE: kernel/bpf/hashtab.c:753: + void *key, u32 key_size, WARNING: line length of 89 exceeds 80 columns #237: FILE: kernel/bpf/hashtab.c:754: + const struct btf_record *record) WARNING: line length of 87 exceeds 80 columns #244: FILE: kernel/bpf/hashtab.c:760: + if (l->hash == hash && htab_is_same_key(l->key, key, key_size, record)) WARNING: line length of 93 exceeds 80 columns #255: FILE: kernel/bpf/hashtab.c:770: +static __always_inline struct htab_elem *lookup_nulls_elem_raw(struct hlist_nulls_head *head, WARNING: line length of 83 exceeds 80 columns #256: FILE: kernel/bpf/hashtab.c:771: + u32 hash, void *key, WARNING: line length of 91 exceeds 80 columns #257: FILE: kernel/bpf/hashtab.c:772: + u32 key_size, u32 n_buckets, WARNING: line length of 95 exceeds 80 columns #258: FILE: kernel/bpf/hashtab.c:773: + const struct btf_record *record) WARNING: line length of 87 exceeds 80 columns #266: FILE: kernel/bpf/hashtab.c:780: + if (l->hash == hash && htab_is_same_key(l->key, key, key_size, record)) WARNING: line length of 86 exceeds 80 columns #290: FILE: kernel/bpf/hashtab.c:812: + l = lookup_nulls_elem_raw(head, hash, key, key_size, htab->n_buckets, record); WARNING: line length of 100 exceeds 80 columns #325: FILE: kernel/bpf/hashtab.c:973: +static int htab_copy_dynptr_key(struct bpf_htab *htab, void *dst_key, const void *key, u32 key_size) WARNING: line length of 87 exceeds 80 columns #346: FILE: kernel/bpf/hashtab.c:994: + memcpy(dst_key + offset, key + offset, field->offset - offset); WARNING: line length of 83 exceeds 80 columns #365: FILE: kernel/bpf/hashtab.c:1013: + bpf_dynptr_init(dst_kptr, dst_data, BPF_DYNPTR_TYPE_LOCAL, 0, len); WARNING: line length of 84 exceeds 80 columns #401: FILE: kernel/bpf/hashtab.c:1056: + l = lookup_nulls_elem_raw(head, hash, key, key_size, htab->n_buckets, NULL); WARNING: line length of 81 exceeds 80 columns #442: FILE: kernel/bpf/hashtab.c:1266: + copy_err = htab_copy_dynptr_key(htab, l_new->key, key, key_size); total: 0 errors, 19 warnings, 0 checks, 529 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 85349fdf3fda ("bpf: Support basic operations for dynptr key in hash 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, 19 warnings, 0 checks, 529 lines checked