CHECK: Alignment should match open parenthesis #60: FILE: include/net/xfrm.h:1707: +struct xfrm_state *xfrm_state_lookup_spi_proto(struct net *net, __be32 spi, + u8 proto); WARNING: line length of 85 exceeds 80 columns #73: FILE: net/xfrm/xfrm_state.c:1714: +struct xfrm_state *xfrm_state_lookup_spi_proto(struct net *net, __be32 spi, u8 proto) WARNING: please, no spaces at the start of a line #75: FILE: net/xfrm/xfrm_state.c:1716: + struct xfrm_state *x;$ WARNING: please, no spaces at the start of a line #76: FILE: net/xfrm/xfrm_state.c:1717: + unsigned int i;$ WARNING: please, no spaces at the start of a line #78: FILE: net/xfrm/xfrm_state.c:1719: + rcu_read_lock();$ WARNING: please, no spaces at the start of a line #80: FILE: net/xfrm/xfrm_state.c:1721: + for (i = 0; i <= net->xfrm.state_hmask; i++) {$ ERROR: code indent should use tabs where possible #81: FILE: net/xfrm/xfrm_state.c:1722: + hlist_for_each_entry_rcu(x, &net->xfrm.state_byspi[i], byspi) {$ WARNING: please, no spaces at the start of a line #81: FILE: net/xfrm/xfrm_state.c:1722: + hlist_for_each_entry_rcu(x, &net->xfrm.state_byspi[i], byspi) {$ WARNING: suspect code indent for conditional statements (8, 12) #81: FILE: net/xfrm/xfrm_state.c:1722: + hlist_for_each_entry_rcu(x, &net->xfrm.state_byspi[i], byspi) { + if (x->id.spi == spi && x->id.proto == proto) { ERROR: code indent should use tabs where possible #82: FILE: net/xfrm/xfrm_state.c:1723: + if (x->id.spi == spi && x->id.proto == proto) {$ WARNING: please, no spaces at the start of a line #82: FILE: net/xfrm/xfrm_state.c:1723: + if (x->id.spi == spi && x->id.proto == proto) {$ ERROR: code indent should use tabs where possible #83: FILE: net/xfrm/xfrm_state.c:1724: + if (!xfrm_state_hold_rcu(x))$ WARNING: please, no spaces at the start of a line #83: FILE: net/xfrm/xfrm_state.c:1724: + if (!xfrm_state_hold_rcu(x))$ WARNING: suspect code indent for conditional statements (16, 20) #83: FILE: net/xfrm/xfrm_state.c:1724: + if (!xfrm_state_hold_rcu(x)) + continue; ERROR: code indent should use tabs where possible #84: FILE: net/xfrm/xfrm_state.c:1725: + continue;$ WARNING: please, no spaces at the start of a line #84: FILE: net/xfrm/xfrm_state.c:1725: + continue;$ ERROR: code indent should use tabs where possible #85: FILE: net/xfrm/xfrm_state.c:1726: + rcu_read_unlock();$ WARNING: please, no spaces at the start of a line #85: FILE: net/xfrm/xfrm_state.c:1726: + rcu_read_unlock();$ ERROR: code indent should use tabs where possible #86: FILE: net/xfrm/xfrm_state.c:1727: + return x;$ WARNING: please, no spaces at the start of a line #86: FILE: net/xfrm/xfrm_state.c:1727: + return x;$ ERROR: code indent should use tabs where possible #87: FILE: net/xfrm/xfrm_state.c:1728: + }$ WARNING: please, no spaces at the start of a line #87: FILE: net/xfrm/xfrm_state.c:1728: + }$ ERROR: code indent should use tabs where possible #88: FILE: net/xfrm/xfrm_state.c:1729: + }$ WARNING: please, no spaces at the start of a line #88: FILE: net/xfrm/xfrm_state.c:1729: + }$ WARNING: please, no spaces at the start of a line #89: FILE: net/xfrm/xfrm_state.c:1730: + }$ WARNING: please, no spaces at the start of a line #91: FILE: net/xfrm/xfrm_state.c:1732: + rcu_read_unlock();$ WARNING: please, no spaces at the start of a line #92: FILE: net/xfrm/xfrm_state.c:1733: + return NULL;$ WARNING: line length of 87 exceeds 80 columns #122: FILE: net/xfrm/xfrm_state.c:2602: + x0 = xfrm_state_lookup_spi_proto(net, htonl(spi), x->id.proto); WARNING: line length of 82 exceeds 80 columns #132: FILE: net/xfrm/xfrm_state.c:2614: + NL_SET_ERR_MSG(extack, "Requested SPI is already in use"); total: 8 errors, 20 warnings, 1 checks, 76 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. NOTE: Whitespace errors detected. You may wish to use scripts/cleanpatch or scripts/cleanfile Commit fa15b81c0a61 ("xfrm: Duplicate SPI Handling") 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.