WARNING: line length of 95 exceeds 80 columns #35: FILE: net/smc/smc_core.c:232: + atomic64_add(lgr->is_smcd ? sizeof(struct smcd_cdc_msg) : 0, &lgr->alloc_rmbs); WARNING: line length of 95 exceeds 80 columns #50: FILE: net/smc/smc_core.c:245: + atomic64_sub(lgr->is_smcd ? sizeof(struct smcd_cdc_msg) : 0, &lgr->alloc_rmbs); WARNING: line length of 94 exceeds 80 columns #62: FILE: net/smc/smc_core.c:393: + if (nla_put_uint(skb, SMC_NLA_LGR_R_SNDBUF_ALLOC, atomic64_read(&lgr->alloc_sndbufs))) WARNING: line length of 88 exceeds 80 columns #65: FILE: net/smc/smc_core.c:395: + if (nla_put_uint(skb, SMC_NLA_LGR_R_RMB_ALLOC, atomic64_read(&lgr->alloc_rmbs))) WARNING: line length of 94 exceeds 80 columns #74: FILE: net/smc/smc_core.c:575: + if (nla_put_uint(skb, SMC_NLA_LGR_D_SNDBUF_ALLOC, atomic64_read(&lgr->alloc_sndbufs))) WARNING: line length of 88 exceeds 80 columns #77: FILE: net/smc/smc_core.c:577: + if (nla_put_uint(skb, SMC_NLA_LGR_D_DMB_ALLOC, atomic64_read(&lgr->alloc_rmbs))) WARNING: line length of 90 exceeds 80 columns #216: FILE: net/smc/smc_core.c:2545: + down_write(&smc->conn.lgr->sndbufs_lock[smc->conn.sndbuf_desc->siz_comp]); WARNING: line length of 88 exceeds 80 columns #220: FILE: net/smc/smc_core.c:2548: + up_write(&smc->conn.lgr->sndbufs_lock[smc->conn.sndbuf_desc->siz_comp]); WARNING: line length of 89 exceeds 80 columns #241: FILE: net/smc/smc_core.h:282: + struct rw_semaphore sndbufs_lock[SMC_RMBE_SIZES]; /* protects tx buffers */ WARNING: line length of 89 exceeds 80 columns #246: FILE: net/smc/smc_core.h:284: + struct rw_semaphore rmbs_lock[SMC_RMBE_SIZES]; /* protects rx buffers */ WARNING: line length of 81 exceeds 80 columns #247: FILE: net/smc/smc_core.h:285: + atomic64_t alloc_sndbufs; /* stats of tx buffers */ WARNING: line length of 81 exceeds 80 columns #248: FILE: net/smc/smc_core.h:286: + atomic64_t alloc_rmbs; /* stats of rx buffers */ WARNING: line length of 83 exceeds 80 columns #270: FILE: net/smc/smc_llc.c:572: +static void smc_llc_lock_in_turn(struct rw_semaphore *lock, int *buf_lst, int type) WARNING: line length of 88 exceeds 80 columns #304: FILE: net/smc/smc_llc.c:609: + smc_llc_lock_in_turn(lgr->rmbs_lock, buf_lst, SMC_LLC_INTURN_LOCK_INCR); WARNING: line length of 88 exceeds 80 columns #313: FILE: net/smc/smc_llc.c:625: + smc_llc_lock_in_turn(lgr->rmbs_lock, buf_lst, SMC_LLC_INTURN_LOCK_INCR); WARNING: line length of 81 exceeds 80 columns #334: FILE: net/smc/smc_llc.c:647: +static inline void smc_llc_bufs_wrunlock_all(struct rw_semaphore *lock, int nums) WARNING: line length of 81 exceeds 80 columns #371: FILE: net/smc/smc_llc.c:689: + smc_llc_lock_in_turn(lgr->rmbs_lock, &buf_lst, SMC_LLC_INTURN_LOCK_OVER); WARNING: line length of 81 exceeds 80 columns #396: FILE: net/smc/smc_llc.c:976: + smc_llc_lock_in_turn(lgr->rmbs_lock, &buf_lst, SMC_LLC_INTURN_LOCK_OVER); WARNING: line length of 81 exceeds 80 columns #430: FILE: net/smc/smc_llc.c:1405: + smc_llc_lock_in_turn(lgr->rmbs_lock, &buf_lst, SMC_LLC_INTURN_LOCK_OVER); total: 0 errors, 19 warnings, 0 checks, 374 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 0d394b139cc7 ("Separate locks for rmbs/sndbufs linked lists of different lengths") 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, 19 warnings, 0 checks, 374 lines checked