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 82 exceeds 80 columns #231: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:153: + attr->ele_num = min_t(int, XSC_RQCQ_ELE_NUM, xdev->caps.max_cqes); WARNING: line length of 82 exceeds 80 columns #237: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:159: + attr->ele_num = min_t(int, XSC_SQCQ_ELE_NUM, xdev->caps.max_cqes); WARNING: line length of 97 exceeds 80 columns #322: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:244: + frags_info->num_frags = roundup(byte_count, PAGE_SIZE_4K) / PAGE_SIZE_4K; WARNING: line length of 91 exceeds 80 columns #342: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:264: + PAGE_SIZE / (frags_info->num_frags * frags_info->arr[0].frag_size); WARNING: line length of 81 exceeds 80 columns #384: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:306: +static void xsc_eth_cq_error_event(struct xsc_core_cq *xcq, enum xsc_event event) WARNING: line length of 82 exceeds 80 columns #395: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:317: + xsc_core_err(xdev, "Eth catch CQ ERROR:%x, cqn: %d\n", event, xcq->cqn); WARNING: line length of 81 exceeds 80 columns #486: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:408: + xsc_core_fill_page_frag_array(&pcq->wq_ctrl.buf, &in->pas[0], hw_npages); WARNING: line length of 84 exceeds 80 columns #568: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:490: + sq->db.dma_fifo = kvzalloc_node(array_size(df_sz, sizeof(*sq->db.dma_fifo)), WARNING: line length of 84 exceeds 80 columns #570: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:492: + sq->db.wqe_info = kvzalloc_node(array_size(wq_sz, sizeof(*sq->db.wqe_info)), WARNING: line length of 92 exceeds 80 columns #604: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:526: + xsc_core_err(xdev, "%s:Async event %x on QP %d\n", __func__, type, qp->qpn); WARNING: line length of 82 exceeds 80 columns #778: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:700: + ret = xsc_eth_open_cq(c, &c->qp.rq[i].cq, &chl_param->rqcq_param); WARNING: line length of 82 exceeds 80 columns #786: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:708: + ret = xsc_eth_open_cq(c, &c->qp.sq[i].cq, &chl_param->sqcq_param); WARNING: line length of 83 exceeds 80 columns #794: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:716: + ret = xsc_eth_open_qp_sq(c, &c->qp.sq[i], &chl_param->sq_param, i); WARNING: line length of 89 exceeds 80 columns #823: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:745: +static int xsc_eth_modify_qps_channel(struct xsc_adapter *adapter, struct xsc_channel *c) WARNING: line length of 83 exceeds 80 columns #830: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:752: + ret = xsc_core_eth_modify_qp_status(adapter->xdev, c->qp.rq[i].rqn, WARNING: line length of 83 exceeds 80 columns #837: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:759: + ret = xsc_core_eth_modify_qp_status(adapter->xdev, c->qp.sq[i].sqn, WARNING: line length of 89 exceeds 80 columns #941: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:863: + prq->wqe.frags = kvzalloc_node(array_size((wq_sz << prq->wqe.info.log_num_frags), WARNING: line length of 87 exceeds 80 columns #959: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:881: + pagepool_params.flags = 0; /* No-internal DMA mapping in page_pool */ WARNING: line length of 86 exceeds 80 columns #1055: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:977: + hw_npages = DIV_ROUND_UP(prq->wq_ctrl.buf.size, PAGE_SIZE_4K); WARNING: line length of 86 exceeds 80 columns #1082: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1004: + hw_npages = DIV_ROUND_UP(prq->wq_ctrl.buf.size, PAGE_SIZE_4K); WARNING: line length of 81 exceeds 80 columns #1086: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1008: + req->log_rq_sz = ilog2(adapter->xdev->caps.recv_ds_num) + WARNING: line length of 82 exceeds 80 columns #1091: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1013: + req->glb_funcid = cpu_to_be16(adapter->xdev->glb_func_id); WARNING: line length of 98 exceeds 80 columns #1093: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1015: + xsc_core_fill_page_frag_array(&prq->wq_ctrl.buf, &req->pas[0], hw_npages); WARNING: line length of 93 exceeds 80 columns #1095: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1017: + req = (struct xsc_create_qp_request *)(&in->data[0] + entry_len * n); WARNING: line length of 82 exceeds 80 columns #1099: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1021: + ret = xsc_core_eth_create_rss_qp_rqs(adapter->xdev, in, inlen, &rqn_base); WARNING: line length of 88 exceeds 80 columns #1113: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1035: + ret = xsc_core_create_resource_common(adapter->xdev, &prq->cqp); WARNING: line length of 90 exceeds 80 columns #1225: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1147: + ret = xsc_eth_open_rss_qp_rqs(adapter, &chl_param->rq_param, chls, chls->num_chl); WARNING: line length of 86 exceeds 80 columns #1267: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1189: + xsc_core_dbg(adapter->xdev, "start to close channel%d\n", c->chl_idx); WARNING: line length of 82 exceeds 80 columns #1316: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1238: + psq->txq = netdev_get_tx_queue(psq->channel->netdev, psq->txq_ix); WARNING: line length of 90 exceeds 80 columns #1391: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1313: + xsc_netdev_set_tcs(adapter, adapter->channels.num_chl, adapter->nic_param.num_tc); WARNING: line length of 89 exceeds 80 columns #1461: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1383: + struct xsc_adapter *adapter = container_of(work, struct xsc_adapter, event_work); WARNING: line length of 98 exceeds 80 columns #1480: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1402: + xsc_core_err(adapter->xdev, "failed to change linkstatus, err=%d\n", err); WARNING: line length of 91 exceeds 80 columns #1484: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1406: + xsc_core_dbg(adapter->xdev, "event cmdtype=%04x\n", out.ctx.resp_cmd_type); WARNING: line length of 88 exceeds 80 columns #1555: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1477: + xsc_core_err(xdev, "failed!! err=%d, status=%d\n", err, out.hdr.status); WARNING: line length of 81 exceeds 80 columns #1578: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1500: + if (xsc_get_pct_drop_config(xdev) && !(netdev->priv_flags & IFF_BONDING)) WARNING: line length of 88 exceeds 80 columns #1584: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1506: + xsc_core_err(xdev, "failed!! err=%d, status=%d\n", err, out.hdr.status); WARNING: line length of 89 exceeds 80 columns #1703: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1625: + xsc_core_warn(adapter->xdev, "failed to disable nic hca, err=%d\n", ret); WARNING: line length of 83 exceeds 80 columns #1782: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_common.h:35: +#define XSC_ETH_MAX_TC_TOTAL (XSC_ETH_MAX_NUM_CHANNELS * XSC_MAX_NUM_TC) WARNING: line length of 87 exceeds 80 columns #1786: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_common.h:39: + SKB_DATA_ALIGN(sizeof(struct skb_shared_info))) WARNING: line length of 87 exceeds 80 columns #1795: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_common.h:48: + SKB_DATA_ALIGN(sizeof(struct skb_shared_info))) WARNING: line length of 84 exceeds 80 columns #1798: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_common.h:51: + (ilog2(PAGE_SIZE / roundup_pow_of_two(XSC_MIN_SKB_FRAG_SZ))) WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #1928: new file mode 100644 WARNING: line length of 85 exceeds 80 columns #1999: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_txrx.c:18: + /* ensure doorbell record is visible to device before ringing the doorbell */ WARNING: line length of 82 exceeds 80 columns #2215: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_queue.h:132: + struct xsc_wqe_frag_info *wi, u32 cqe_bcnt, u8 has_pph); total: 0 errors, 46 warnings, 0 checks, 2211 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 3f6e4d3a945a ("net-next/yunsilicon: ndo_open and ndo_stop") 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, 46 warnings, 0 checks, 2211 lines checked