WARNING: Non-standard signature: Diagnosed-by: #38: Diagnosed-by: Dmitry Vyukov WARNING: line length of 85 exceeds 80 columns #55: FILE: net/xfrm/xfrm_state.c:38: + rcu_dereference_check((table), lockdep_is_held(&(net)->xfrm.xfrm_state_lock)) WARNING: line length of 88 exceeds 80 columns #105: FILE: net/xfrm/xfrm_state.c:1061: +static void xfrm_hash_ptrs_get(const struct net *net, struct xfrm_hash_state_ptrs *ptrs) WARNING: line length of 86 exceeds 80 columns #110: FILE: net/xfrm/xfrm_state.c:1066: + sequence = read_seqcount_begin(&net->xfrm.xfrm_state_hash_generation); WARNING: line length of 81 exceeds 80 columns #112: FILE: net/xfrm/xfrm_state.c:1068: + ptrs->bydst = xfrm_state_deref_check(net->xfrm.state_bydst, net); WARNING: line length of 81 exceeds 80 columns #113: FILE: net/xfrm/xfrm_state.c:1069: + ptrs->bysrc = xfrm_state_deref_check(net->xfrm.state_bysrc, net); WARNING: line length of 81 exceeds 80 columns #114: FILE: net/xfrm/xfrm_state.c:1070: + ptrs->byspi = xfrm_state_deref_check(net->xfrm.state_byspi, net); WARNING: line length of 87 exceeds 80 columns #116: FILE: net/xfrm/xfrm_state.c:1072: + } while (read_seqcount_retry(&net->xfrm.xfrm_state_hash_generation, sequence)); WARNING: line length of 96 exceeds 80 columns #119: FILE: net/xfrm/xfrm_state.c:1075: +static struct xfrm_state *__xfrm_state_lookup_all(const struct xfrm_hash_state_ptrs *state_ptrs, WARNING: line length of 87 exceeds 80 columns #127: FILE: net/xfrm/xfrm_state.c:1082: + unsigned int h = __xfrm_spi_hash(daddr, spi, proto, family, state_ptrs->hmask); WARNING: line length of 92 exceeds 80 columns #140: FILE: net/xfrm/xfrm_state.c:1119: +static struct xfrm_state *__xfrm_state_lookup(const struct xfrm_hash_state_ptrs *state_ptrs, WARNING: line length of 87 exceeds 80 columns #147: FILE: net/xfrm/xfrm_state.c:1125: + unsigned int h = __xfrm_spi_hash(daddr, spi, proto, family, state_ptrs->hmask); WARNING: line length of 99 exceeds 80 columns #179: FILE: net/xfrm/xfrm_state.c:1194: +static struct xfrm_state *__xfrm_state_lookup_byaddr(const struct xfrm_hash_state_ptrs *state_ptrs, WARNING: line length of 82 exceeds 80 columns #186: FILE: net/xfrm/xfrm_state.c:1200: + unsigned int h = __xfrm_src_hash(daddr, saddr, family, state_ptrs->hmask); WARNING: line length of 87 exceeds 80 columns #230: FILE: net/xfrm/xfrm_state.c:1374: + h = __xfrm_dst_hash(daddr, saddr, tmpl->reqid, encap_family, state_ptrs.hmask); WARNING: line length of 87 exceeds 80 columns #283: FILE: net/xfrm/xfrm_state.c:2251: + x = __xfrm_state_lookup_byaddr(&state_ptrs, mark, daddr, saddr, proto, family); total: 0 errors, 16 warnings, 0 checks, 221 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 f7fa22573e48 ("xfrm: state: fix out-of-bounds read during lookup") 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, 16 warnings, 0 checks, 221 lines checked