CHECK: Macro argument 'member' may be better as '(member)' to avoid precedence issues #76: FILE: tools/testing/selftests/bpf/progs/mptcp_bpf.h:20: +#define list_next_entry(pos, member) \ + list_entry((pos)->member.next, typeof(*(pos)), member) CHECK: Macro argument 'pos' may be better as '(pos)' to avoid precedence issues #79: FILE: tools/testing/selftests/bpf/progs/mptcp_bpf.h:23: +#define list_entry_is_head(pos, head, member) \ + list_is_head(&pos->member, (head)) CHECK: Macro argument 'member' may be better as '(member)' to avoid precedence issues #79: FILE: tools/testing/selftests/bpf/progs/mptcp_bpf.h:23: +#define list_entry_is_head(pos, head, member) \ + list_is_head(&pos->member, (head)) WARNING: line length of 90 exceeds 80 columns #121: FILE: tools/testing/selftests/bpf/progs/mptcp_subflow.c:63: +static int _check_getsockopt_subflow_mark(struct mptcp_sock *msk, struct bpf_sockopt *ctx) WARNING: line length of 90 exceeds 80 columns #130: FILE: tools/testing/selftests/bpf/progs/mptcp_subflow.c:72: + struct mptcp_subflow_context)); WARNING: line length of 88 exceeds 80 columns #141: FILE: tools/testing/selftests/bpf/progs/mptcp_subflow.c:83: +static int _check_getsockopt_subflow_cc(struct mptcp_sock *msk, struct bpf_sockopt *ctx) WARNING: line length of 90 exceeds 80 columns #150: FILE: tools/testing/selftests/bpf/progs/mptcp_subflow.c:92: + struct mptcp_subflow_context)); WARNING: line length of 85 exceeds 80 columns #154: FILE: tools/testing/selftests/bpf/progs/mptcp_subflow.c:96: + __builtin_memcmp(icsk->icsk_ca_ops->name, cc, TCP_CA_NAME_MAX)) { total: 0 errors, 5 warnings, 3 checks, 132 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 f2ae6a3475c4 ("selftests/bpf: Add getsockopt to inspect mptcp subflow") 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, 5 warnings, 3 checks, 132 lines checked