WARNING: line length of 81 exceeds 80 columns #102: FILE: include/net/smc.h:92: +#define smc_call_hsbpf(init_val, tp, func, ...) ({ \ CHECK: Macro argument 'func' may be better as '(func)' to avoid precedence issues #102: FILE: include/net/smc.h:92: +#define smc_call_hsbpf(init_val, tp, func, ...) ({ \ + typeof(init_val) __ret = (init_val); \ + struct smc_hs_ctrl *ctrl; \ + rcu_read_lock(); \ + ctrl = rcu_dereference(sock_net((struct sock *)(tp))->smc.hs_ctrl); \ + if (ctrl && ctrl->func) \ + __ret = ctrl->func(tp, ##__VA_ARGS__); \ + rcu_read_unlock(); \ + __ret; \ +}) WARNING: line length of 81 exceeds 80 columns #103: FILE: include/net/smc.h:93: + typeof(init_val) __ret = (init_val); \ WARNING: line length of 81 exceeds 80 columns #104: FILE: include/net/smc.h:94: + struct smc_hs_ctrl *ctrl; \ WARNING: line length of 81 exceeds 80 columns #105: FILE: include/net/smc.h:95: + rcu_read_lock(); \ WARNING: line length of 81 exceeds 80 columns #106: FILE: include/net/smc.h:96: + ctrl = rcu_dereference(sock_net((struct sock *)(tp))->smc.hs_ctrl); \ WARNING: line length of 81 exceeds 80 columns #107: FILE: include/net/smc.h:97: + if (ctrl && ctrl->func) \ WARNING: line length of 81 exceeds 80 columns #108: FILE: include/net/smc.h:98: + __ret = ctrl->func(tp, ##__VA_ARGS__); \ WARNING: line length of 81 exceeds 80 columns #109: FILE: include/net/smc.h:99: + rcu_read_unlock(); \ WARNING: line length of 81 exceeds 80 columns #110: FILE: include/net/smc.h:100: + __ret; \ WARNING: line length of 83 exceeds 80 columns #170: FILE: net/ipv4/tcp_output.c:829: + if (static_branch_unlikely(&tcp_have_smc) && tp->syn_smc && ireq->smc_ok) { total: 0 errors, 10 warnings, 1 checks, 473 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 581f48fa9125 ("net/smc: bpf: Introduce generic hook for handshake flow") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES 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, 10 warnings, 1 checks, 473 lines checked