WARNING: line length of 82 exceeds 80 columns #233: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:147: + attr->ele_num = min_t(int, XSC_RQCQ_ELE_NUM, xdev->caps.max_cqes); WARNING: line length of 82 exceeds 80 columns #239: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:153: + attr->ele_num = min_t(int, XSC_SQCQ_ELE_NUM, xdev->caps.max_cqes); WARNING: line length of 97 exceeds 80 columns #324: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:238: + frags_info->num_frags = roundup(byte_count, PAGE_SIZE_4K) / PAGE_SIZE_4K; WARNING: line length of 91 exceeds 80 columns #344: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:258: + PAGE_SIZE / (frags_info->num_frags * frags_info->arr[0].frag_size); WARNING: line length of 81 exceeds 80 columns #386: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:300: +static void xsc_eth_cq_error_event(struct xsc_core_cq *xcq, enum xsc_event event) WARNING: line length of 99 exceeds 80 columns #409: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:323: + netdev_err((struct net_device *)xdev->netdev, "cq%d->channel is null\n", xcq->cqn); WARNING: line length of 81 exceeds 80 columns #490: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:404: + xsc_core_fill_page_frag_array(&pcq->wq_ctrl.buf, &in->pas[0], hw_npages); WARNING: line length of 84 exceeds 80 columns #570: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:484: + sq->db.dma_fifo = kvzalloc_node(array_size(df_sz, sizeof(*sq->db.dma_fifo)), WARNING: line length of 84 exceeds 80 columns #572: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:486: + sq->db.wqe_info = kvzalloc_node(array_size(wq_sz, sizeof(*sq->db.wqe_info)), WARNING: line length of 84 exceeds 80 columns #607: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:521: + "%s:Async event %x on QP %d\n", __func__, type, qp->qpn); WARNING: line length of 82 exceeds 80 columns #777: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:691: + ret = xsc_eth_open_cq(c, &c->qp.rq[i].cq, &chl_param->rqcq_param); WARNING: line length of 82 exceeds 80 columns #785: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:699: + ret = xsc_eth_open_cq(c, &c->qp.sq[i].cq, &chl_param->sqcq_param); WARNING: line length of 83 exceeds 80 columns #793: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:707: + ret = xsc_eth_open_qp_sq(c, &c->qp.sq[i], &chl_param->sq_param, i); WARNING: line length of 89 exceeds 80 columns #822: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:736: +static int xsc_eth_modify_qps_channel(struct xsc_adapter *adapter, struct xsc_channel *c) WARNING: line length of 83 exceeds 80 columns #829: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:743: + ret = xsc_core_eth_modify_qp_status(adapter->xdev, c->qp.rq[i].rqn, WARNING: line length of 83 exceeds 80 columns #836: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:750: + ret = xsc_core_eth_modify_qp_status(adapter->xdev, c->qp.sq[i].sqn, WARNING: line length of 89 exceeds 80 columns #940: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:854: + prq->wqe.frags = kvzalloc_node(array_size((wq_sz << prq->wqe.info.log_num_frags), WARNING: line length of 87 exceeds 80 columns #958: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:872: + pagepool_params.flags = 0; /* No-internal DMA mapping in page_pool */ WARNING: line length of 86 exceeds 80 columns #1054: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:968: + hw_npages = DIV_ROUND_UP(prq->wq_ctrl.buf.size, PAGE_SIZE_4K); WARNING: line length of 86 exceeds 80 columns #1081: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:995: + hw_npages = DIV_ROUND_UP(prq->wq_ctrl.buf.size, PAGE_SIZE_4K); WARNING: line length of 81 exceeds 80 columns #1085: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:999: + req->log_rq_sz = ilog2(adapter->xdev->caps.recv_ds_num) + WARNING: line length of 82 exceeds 80 columns #1090: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1004: + req->glb_funcid = cpu_to_be16(adapter->xdev->glb_func_id); WARNING: line length of 98 exceeds 80 columns #1092: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1006: + xsc_core_fill_page_frag_array(&prq->wq_ctrl.buf, &req->pas[0], hw_npages); WARNING: line length of 93 exceeds 80 columns #1094: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1008: + req = (struct xsc_create_qp_request *)(&in->data[0] + entry_len * n); WARNING: line length of 82 exceeds 80 columns #1098: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1012: + ret = xsc_core_eth_create_rss_qp_rqs(adapter->xdev, in, inlen, &rqn_base); WARNING: line length of 88 exceeds 80 columns #1112: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1026: + ret = xsc_core_create_resource_common(adapter->xdev, &prq->cqp); WARNING: line length of 90 exceeds 80 columns #1222: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1136: + ret = xsc_eth_open_rss_qp_rqs(adapter, &chl_param->rq_param, chls, chls->num_chl); WARNING: line length of 82 exceeds 80 columns #1311: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1225: + psq->txq = netdev_get_tx_queue(psq->channel->netdev, psq->txq_ix); WARNING: line length of 90 exceeds 80 columns #1386: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1300: + xsc_netdev_set_tcs(adapter, adapter->channels.num_chl, adapter->nic_param.num_tc); WARNING: line length of 89 exceeds 80 columns #1454: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1368: + struct xsc_adapter *adapter = container_of(work, struct xsc_adapter, event_work); WARNING: line length of 98 exceeds 80 columns #1473: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1387: + netdev_err(adapter->netdev, "failed to change linkstatus, err=%d\n", err); WARNING: line length of 88 exceeds 80 columns #1544: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1458: + netdev_err(netdev, "failed!! err=%d, status=%d\n", err, out.hdr.status); WARNING: line length of 81 exceeds 80 columns #1565: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1479: + if (xsc_get_pct_drop_config(xdev) && !(netdev->priv_flags & IFF_BONDING)) WARNING: line length of 88 exceeds 80 columns #1571: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1485: + netdev_err(netdev, "failed!! err=%d, status=%d\n", err, out.hdr.status); WARNING: line length of 88 exceeds 80 columns #1688: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1602: + netdev_err(adapter->netdev, "failed to disable nic hca, err=%d\n", ret); WARNING: line length of 83 exceeds 80 columns #1763: 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 #1767: 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 #1776: 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 #1779: 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? #1909: new file mode 100644 WARNING: line length of 85 exceeds 80 columns #1985: 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 #2201: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_queue.h:105: + struct xsc_wqe_frag_info *wi, u32 cqe_bcnt, u8 has_pph); total: 0 errors, 42 warnings, 0 checks, 2195 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 7c06108dedd4 ("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, 42 warnings, 0 checks, 2195 lines checked