CHECK: Prefer using the BIT macro #34: FILE: include/net/netns/mctp.h:14: +#define MCTP_BINDS_SIZE (1 << MCTP_BINDS_BITS) WARNING: line length of 84 exceeds 80 columns #42: FILE: include/net/netns/mctp.h:21: + /* Bound sockets: hash table of sockets, keyed by (type, src_eid, dest_eid). WARNING: line length of 82 exceeds 80 columns #43: FILE: include/net/netns/mctp.h:22: + * Specific src_eid/dest_eid entries also have an entry for MCTP_ADDR_ANY. WARNING: line length of 92 exceeds 80 columns #59: FILE: include/net/netns/mctp.h:45: + return hash_32(type | (u32)local_addr << 8 | (u32)peer_addr << 16, MCTP_BINDS_BITS); WARNING: line length of 81 exceeds 80 columns #178: FILE: net/mctp/route.c:99: + msk = mctp_lookup_bind_details(net, skb, type, mh->dest, mh->src, false); WARNING: line length of 86 exceeds 80 columns #181: FILE: net/mctp/route.c:102: + msk = mctp_lookup_bind_details(net, skb, type, MCTP_ADDR_ANY, mh->src, false); WARNING: line length of 87 exceeds 80 columns #184: FILE: net/mctp/route.c:105: + msk = mctp_lookup_bind_details(net, skb, type, mh->dest, MCTP_ADDR_ANY, false); WARNING: line length of 92 exceeds 80 columns #187: FILE: net/mctp/route.c:108: + msk = mctp_lookup_bind_details(net, skb, type, MCTP_ADDR_ANY, MCTP_ADDR_ANY, false); WARNING: line length of 91 exceeds 80 columns #190: FILE: net/mctp/route.c:111: + msk = mctp_lookup_bind_details(net, skb, type, MCTP_ADDR_ANY, MCTP_ADDR_ANY, true); total: 0 errors, 8 warnings, 1 checks, 169 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 947ac030033e ("net: mctp: Use hashtable for binds") 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, 8 warnings, 1 checks, 169 lines checked