WARNING: line length of 83 exceeds 80 columns #197: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:99: + (!(cqe->csum_err & OUTER_BIT) && (cqe->csum_err & INNER_BIT))) { WARNING: line length of 83 exceeds 80 columns #252: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:154: + dma_sync_single_for_cpu(dev, di->addr + frag_offset, len, DMA_FROM_DEVICE); WARNING: line length of 85 exceeds 80 columns #348: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:246: + headlen = min_t(u32, XSC_RX_MAX_HEAD, (cqe_bcnt - XSC_PPH_HEAD_LEN)); WARNING: line length of 96 exceeds 80 columns #354: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:252: + if (byte_cnt == 0 && (XSC_GET_PFLAG(&c->adapter->nic_param, XSC_PFLAG_RX_COPY_BREAK))) { WARNING: line length of 82 exceeds 80 columns #366: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:264: + min_t(u16, frag_info->frag_size - frag_headlen, byte_cnt); WARNING: line length of 81 exceeds 80 columns #381: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:279: + byte_cnt, fragcnt, headlen, cqe_bcnt, WARNING: line length of 87 exceeds 80 columns #382: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:280: + frag_consumed_bytes, frag_info->frag_size); WARNING: line length of 81 exceeds 80 columns #411: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:309: + struct xsc_dma_info *dma_info, bool recycle) WARNING: line length of 82 exceeds 80 columns #477: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:374: + if (!XSC_GET_PFLAG(&c->adapter->nic_param, XSC_PFLAG_DROPLESS_RQ)) WARNING: line length of 87 exceeds 80 columns #487: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:384: + cqe->has_pph == 1 ? cqe_bcnt - XSC_PPH_HEAD_LEN : cqe_bcnt, WARNING: line length of 83 exceeds 80 columns #554: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:450: + /* On first frag (offset == 0), replenish page (dma_info actually). WARNING: line length of 81 exceeds 80 columns #556: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:452: + * offset) should just use the new one without replenishing again WARNING: line length of 86 exceeds 80 columns #564: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:460: +static int xsc_alloc_rx_wqe(struct xsc_rq *rq, struct xsc_eth_rx_wqe_cyc *wqe, u16 ix) WARNING: line length of 86 exceeds 80 columns #576: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:472: + addr = cpu_to_le64(frag->di->addr + frag->offset + rq->buff.headroom); total: 0 errors, 14 warnings, 0 checks, 752 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 bbe33f95216e ("net-next/yunsilicon: Add eth rx") 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, 14 warnings, 0 checks, 752 lines checked