WARNING: line length of 90 exceeds 80 columns #45: FILE: net/smc/smc_core.c:798: + lnk->wr_rx_sge_cnt = lnk->smcibdev->ibdev->attrs.max_recv_sge < 2 ? 1 : 2; WARNING: line length of 89 exceeds 80 columns #69: FILE: net/smc/smc_core.h:129: + int wr_rx_sge_cnt; /* rx sge, V1 is 1, V2 is either 2 or 1 */ WARNING: line length of 92 exceeds 80 columns #70: FILE: net/smc/smc_core.h:130: + int wr_rx_buflen; /* buffer len for the first sge, len for the WARNING: line length of 91 exceeds 80 columns #71: FILE: net/smc/smc_core.h:131: + * second sge is lgr shared if rx sge is 2. WARNING: line length of 87 exceeds 80 columns #160: FILE: net/smc/smc_llc.c:1817: + llcv2 = (struct smc_llc_msg_delete_rkey_v2 *)lgr->wr_rx_buf_v2; WARNING: line length of 88 exceeds 80 columns #176: FILE: net/smc/smc_wr.c:442: + wr_rx = (struct smc_wr_rx_hdr *)(link->wr_rx_bufs + index * link->wr_rx_buflen); WARNING: line length of 87 exceeds 80 columns #203: FILE: net/smc/smc_wr.c:617: + if (lnk->lgr->smc_version == SMC_V2 && smc_link_shared_v2_rxbuf(lnk)) { WARNING: line length of 85 exceeds 80 columns #245: FILE: net/smc/smc_wr.c:775: + sizeof(link->wr_rx_sges[0]) * link->wr_rx_sge_cnt, WARNING: line length of 87 exceeds 80 columns #272: FILE: net/smc/smc_wr.c:884: + SMC_WR_BUF_V2_SIZE, DMA_FROM_DEVICE); WARNING: line length of 82 exceeds 80 columns #273: FILE: net/smc/smc_wr.c:885: + if (ib_dma_mapping_error(ibdev, lnk->wr_rx_v2_dma_addr)) { total: 0 errors, 10 warnings, 0 checks, 214 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 f2382688644d ("net/smc: support SMC-R V2 for rdma devices with max_recv_sge equals to 1") 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, 10 warnings, 0 checks, 214 lines checked