WARNING: line length of 85 exceeds 80 columns #65: FILE: include/net/smc.h:103: + * This structure is used to store the parameters passed to the member of struct_ops. WARNING: line length of 86 exceeds 80 columns #66: FILE: include/net/smc.h:104: + * Due to the BPF verifier cannot restrict the writing of bit fields, such as limiting WARNING: line length of 85 exceeds 80 columns #67: FILE: include/net/smc.h:105: + * it to only write ireq->smc_ok. Using kfunc can solve this issue, but we don't want WARNING: line length of 91 exceeds 80 columns #122: FILE: include/net/tcp.h:2737: + void (*set_option_cond)(const struct tcp_sock *tp, struct inet_request_sock *ireq); WARNING: line length of 92 exceeds 80 columns #160: FILE: net/ipv4/tcp_output.c:771: + /* set_option may modify syn_smc, so it needs to be checked again */ WARNING: line length of 88 exceeds 80 columns #161: FILE: net/ipv4/tcp_output.c:772: + if (tp->syn_smc && *remaining >= TCPOLEN_EXP_SMC_BASE_ALIGNED) { WARNING: line length of 96 exceeds 80 columns #180: FILE: net/ipv4/tcp_output.c:791: + /* set_option_cond may modify smc_ok, so it needs to be checked again */ WARNING: line length of 89 exceeds 80 columns #181: FILE: net/ipv4/tcp_output.c:792: + if (ireq->smc_ok && *remaining >= TCPOLEN_EXP_SMC_BASE_ALIGNED) { WARNING: line length of 94 exceeds 80 columns #232: FILE: net/smc/af_smc.c:160: +static void smc_set_tcp_option_cond(const struct tcp_sock *tp, struct inet_request_sock *ireq) WARNING: line length of 82 exceeds 80 columns #245: FILE: net/smc/af_smc.c:169: + if (smc->limit_smc_hs && workqueue_congested(WORK_CPU_UNBOUND, smc_hs_wq)) WARNING: line length of 84 exceeds 80 columns #290: FILE: net/smc/af_smc.c:3591: + pr_err("%s: smc_bpf_struct_ops_init fails with %d\n", __func__, rc); WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #324: new file mode 100644 WARNING: line length of 81 exceeds 80 columns #366: FILE: net/smc/smc_bpf.c:38: + type_id = btf_find_by_name_kind(btf, "smc_bpf_ops_ctx", BTF_KIND_STRUCT); WARNING: line length of 82 exceeds 80 columns #446: FILE: net/smc/smc_bpf.c:118: +static void __bpf_smc_stub_set_tcp_option_cond(struct smc_bpf_ops_ctx *ops_ctx) {} WARNING: line length of 86 exceeds 80 columns #478: FILE: net/smc/smc_bpf.c:150: + off == offsetof(struct smc_bpf_ops_ctx, set_option_cond.smc_ok) && WARNING: line length of 94 exceeds 80 columns #479: FILE: net/smc/smc_bpf.c:151: + off + size == offsetofend(struct smc_bpf_ops_ctx, set_option_cond.smc_ok)) WARNING: line length of 91 exceeds 80 columns #524: FILE: net/smc/smc_bpf.c:196: +void bpf_smc_set_tcp_option_cond(const struct tcp_sock *tp, struct inet_request_sock *ireq) WARNING: line length of 92 exceeds 80 columns #574: FILE: net/smc/smc_bpf.h:28: +void bpf_smc_set_tcp_option_cond(const struct tcp_sock *tp, struct inet_request_sock *ireq); total: 0 errors, 18 warnings, 0 checks, 482 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 b20896bfa090 ("net/smc: Introduce smc_bpf_ops") 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, 18 warnings, 0 checks, 482 lines checked