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 #36: FILE: drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h:550: +int xsc_core_eth_modify_qp_status(struct xsc_core_device *xdev, u32 qpn, u16 status); WARNING: line length of 81 exceeds 80 columns #43: FILE: drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h:557: +int xsc_core_eth_create_cq(struct xsc_core_device *xdev, struct xsc_core_cq *xcq, WARNING: line length of 83 exceeds 80 columns #45: FILE: drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h:559: +int xsc_core_eth_destroy_cq(struct xsc_core_device *xdev, struct xsc_core_cq *xcq); WARNING: line length of 86 exceeds 80 columns #50: FILE: drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h:564: +void xsc_core_fill_page_frag_array(struct xsc_frag_buf *buf, __be64 *pas, int npages); WARNING: line length of 84 exceeds 80 columns #53: FILE: drivers/net/ethernet/yunsilicon/xsc/common/xsc_core.h:567: +void xsc_core_frag_buf_free(struct xsc_core_device *xdev, struct xsc_frag_buf *buf); WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #70: new file mode 100644 WARNING: line length of 81 exceeds 80 columns #123: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_wq.c:49: +int xsc_eth_cqwq_create(struct xsc_core_device *xdev, struct xsc_wq_param *param, WARNING: line length of 90 exceeds 80 columns #131: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_wq.c:57: + err = xsc_core_frag_buf_alloc_node(xdev, wq_get_byte_sz(log_wq_sz, log_wq_stride), WARNING: line length of 88 exceeds 80 columns #135: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_wq.c:61: + xsc_core_warn(xdev, "xsc_core_frag_buf_alloc_node() failed, %d\n", err); WARNING: line length of 83 exceeds 80 columns #150: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_wq.c:76: +int xsc_eth_wq_cyc_create(struct xsc_core_device *xdev, struct xsc_wq_param *param, WARNING: line length of 90 exceeds 80 columns #159: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_wq.c:85: + err = xsc_core_frag_buf_alloc_node(xdev, wq_get_byte_sz(log_wq_sz, log_wq_stride), WARNING: line length of 88 exceeds 80 columns #162: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_wq.c:88: + xsc_core_warn(xdev, "xsc_core_frag_buf_alloc_node() failed, %d\n", err); WARNING: line length of 81 exceeds 80 columns #263: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_wq.h:74: +int xsc_eth_cqwq_create(struct xsc_core_device *xdev, struct xsc_wq_param *param, WARNING: line length of 83 exceeds 80 columns #267: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_wq.h:78: +int xsc_eth_wq_cyc_create(struct xsc_core_device *xdev, struct xsc_wq_param *param, WARNING: line length of 82 exceeds 80 columns #301: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_wq.h:112: + return fbc->frags[frag].buf + ((fbc->frag_sz_m1 & ix) << fbc->log_stride); WARNING: line length of 82 exceeds 80 columns #309: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_wq.h:120: + return min_t(u32, last_frag_stride_idx - fbc->strides_offset, fbc->sz_m1); WARNING: line length of 85 exceeds 80 columns #406: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c:131: +void xsc_core_fill_page_frag_array(struct xsc_frag_buf *buf, __be64 *pas, int npages) WARNING: line length of 82 exceeds 80 columns #414: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c:139: + addr = buf->frags[i >> shift].map + ((i & mask) << PAGE_SHIFT_4K); WARNING: line length of 81 exceeds 80 columns #478: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c:203: + dma_free_coherent(&xdev->pdev->dev, PAGE_SIZE, buf->frags[i].buf, WARNING: line length of 83 exceeds 80 columns #486: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/alloc.c:211: +void xsc_core_frag_buf_free(struct xsc_core_device *xdev, struct xsc_frag_buf *buf) WARNING: line length of 81 exceeds 80 columns #567: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cq.c:81: +int xsc_core_eth_create_cq(struct xsc_core_device *xdev, struct xsc_core_cq *xcq, WARNING: line length of 89 exceeds 80 columns #595: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cq.c:109: + xsc_core_warn(xdev, "failed to destroy cqn=%d, err=%d\n", xcq->cqn, err); WARNING: line length of 82 exceeds 80 columns #600: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cq.c:114: +int xsc_core_eth_destroy_cq(struct xsc_core_device *xdev, struct xsc_core_cq *xcq) WARNING: line length of 84 exceeds 80 columns #676: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/qp.c:103: +int xsc_core_eth_modify_qp_status(struct xsc_core_device *xdev, u32 qpn, u16 status) WARNING: line length of 89 exceeds 80 columns #705: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/qp.c:132: + xsc_core_warn(xdev, "failed to set sq%d status=rst, err=%d\n", qpn, err); WARNING: line length of 98 exceeds 80 columns #724: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/qp.c:151: +int xsc_core_eth_modify_raw_qp(struct xsc_core_device *xdev, struct xsc_modify_raw_qp_mbox_in *in) total: 0 errors, 28 warnings, 0 checks, 693 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 b59e360943b4 ("net-next/yunsilicon: Add eth needed qp and cq apis") 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, 28 warnings, 0 checks, 693 lines checked