WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #43: new file mode 100644 WARNING: line length of 82 exceeds 80 columns #74: FILE: include/net/trait.h:27: + * Naively storing the size of each value (eg packing 4 of them in a byte) WARNING: line length of 92 exceeds 80 columns #75: FILE: include/net/trait.h:28: + * doesn't let us efficiently calculate the offset of the value of an arbitrary key: WARNING: line length of 82 exceeds 80 columns #78: FILE: include/net/trait.h:31: + * Instead, store the high and low bits of the size in two separate words: WARNING: line length of 85 exceeds 80 columns #110: FILE: include/net/trait.h:63: +static __always_inline struct __trait_hdr __trait_and(struct __trait_hdr h, u64 mask) WARNING: line length of 98 exceeds 80 columns #121: FILE: include/net/trait.h:74: + return sizeof(struct __trait_hdr) + __trait_total_length(__trait_and(h, ~(~0llu << key))); WARNING: line length of 96 exceeds 80 columns #152: FILE: include/net/trait.h:105: + return sizeof(struct __trait_hdr) + __trait_total_length(*(struct __trait_hdr *)traits); WARNING: line length of 89 exceeds 80 columns #171: FILE: include/net/trait.h:124: +int trait_set(void *traits, void *hard_end, u64 key, const void *val, u64 len, u64 flags) WARNING: line length of 93 exceeds 80 columns #186: FILE: include/net/trait.h:139: + /* Figure out if we have enough room left: total length of everything now. */ WARNING: line length of 100 exceeds 80 columns #187: FILE: include/net/trait.h:140: + if (traits + sizeof(struct __trait_hdr) + __trait_total_length(*h) + len > hard_end) WARNING: line length of 93 exceeds 80 columns #192: FILE: include/net/trait.h:145: + memmove(traits + off + len, traits + off, traits_size(traits) - off); WARNING: line length of 91 exceeds 80 columns #282: FILE: include/net/trait.h:235: + memmove(traits + off, traits + off + len, traits_size(traits) - off - len); total: 0 errors, 12 warnings, 0 checks, 243 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 5b35b27e67cf ("trait: limited KV store for packet metadata") 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, 12 warnings, 0 checks, 243 lines checked