WARNING: Co-developed-by: must be immediately followed by Signed-off-by: #8: Co-developed-by: Honggang Wei Co-developed-by: Lei Yan WARNING: Co-developed-by and Signed-off-by: name/email do not match #9: Co-developed-by: Lei Yan Signed-off-by: Xin Tian WARNING: line length of 85 exceeds 80 columns #184: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:116: + struct sk_buff *skb, struct xsc_wqe_frag_info *wi) WARNING: line length of 83 exceeds 80 columns #204: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:136: + (!(cqe->csum_err & OUTER_BIT) && (cqe->csum_err & INNER_BIT))) { WARNING: line length of 83 exceeds 80 columns #259: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:191: + dma_sync_single_for_cpu(dev, di->addr + frag_offset, len, DMA_FROM_DEVICE); WARNING: line length of 85 exceeds 80 columns #355: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:287: + headlen = min_t(u32, XSC_RX_MAX_HEAD, (cqe_bcnt - XSC_PPH_HEAD_LEN)); WARNING: line length of 96 exceeds 80 columns #361: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:293: + if (byte_cnt == 0 && (XSC_GET_PFLAG(&c->adapter->nic_param, XSC_PFLAG_RX_COPY_BREAK))) { WARNING: line length of 82 exceeds 80 columns #373: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:305: + min_t(u16, frag_info->frag_size - frag_headlen, byte_cnt); WARNING: line length of 81 exceeds 80 columns #388: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:320: + byte_cnt, fragcnt, headlen, cqe_bcnt, WARNING: line length of 87 exceeds 80 columns #389: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:321: + frag_consumed_bytes, frag_info->frag_size); WARNING: line length of 81 exceeds 80 columns #428: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:360: + struct xsc_dma_info *dma_info, bool recycle) WARNING: line length of 82 exceeds 80 columns #493: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:425: + if (!XSC_GET_PFLAG(&c->adapter->nic_param, XSC_PFLAG_DROPLESS_RQ)) WARNING: line length of 87 exceeds 80 columns #503: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:435: + cqe->has_pph == 1 ? cqe_bcnt - XSC_PPH_HEAD_LEN : cqe_bcnt, WARNING: line length of 83 exceeds 80 columns #570: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:501: + /* On first frag (offset == 0), replenish page (dma_info actually). WARNING: line length of 81 exceeds 80 columns #572: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:503: + * offset) should just use the new one without replenishing again WARNING: line length of 86 exceeds 80 columns #580: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:511: +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 #592: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_rx.c:523: + addr = cpu_to_le64(frag->di->addr + frag->offset + rq->buff.headroom); total: 0 errors, 17 warnings, 0 checks, 766 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 643e30880fc7 ("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, 17 warnings, 0 checks, 766 lines checked