WARNING: line length of 83 exceeds 80 columns #202: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:67: +static void xsc_build_rss_param(struct xsc_rss_params *rss_param, u16 num_channels) WARNING: line length of 82 exceeds 80 columns #232: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:99: + xsc_build_rss_param(&adapter->rss_param, adapter->nic_param.num_channels); WARNING: line length of 82 exceeds 80 columns #268: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:152: + attr->ele_num = min_t(int, XSC_RQCQ_ELE_NUM, xdev->caps.max_cqes); WARNING: line length of 82 exceeds 80 columns #274: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:158: + attr->ele_num = min_t(int, XSC_SQCQ_ELE_NUM, xdev->caps.max_cqes); WARNING: line length of 97 exceeds 80 columns #359: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:243: + frags_info->num_frags = roundup(byte_count, PAGE_SIZE_4K) / PAGE_SIZE_4K; WARNING: line length of 91 exceeds 80 columns #379: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:263: + PAGE_SIZE / (frags_info->num_frags * frags_info->arr[0].frag_size); WARNING: line length of 81 exceeds 80 columns #421: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:305: +static void xsc_eth_cq_error_event(struct xsc_core_cq *xcq, enum xsc_event event) WARNING: line length of 82 exceeds 80 columns #432: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:316: + xsc_core_err(xdev, "Eth catch CQ ERROR:%x, cqn: %d\n", event, xcq->cqn); WARNING: line length of 81 exceeds 80 columns #523: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:407: + xsc_core_fill_page_frag_array(&pcq->wq_ctrl.buf, &in->pas[0], hw_npages); WARNING: line length of 84 exceeds 80 columns #605: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:489: + sq->db.dma_fifo = kvzalloc_node(array_size(df_sz, sizeof(*sq->db.dma_fifo)), WARNING: line length of 84 exceeds 80 columns #607: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:491: + sq->db.wqe_info = kvzalloc_node(array_size(wq_sz, sizeof(*sq->db.wqe_info)), WARNING: line length of 92 exceeds 80 columns #641: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:525: + xsc_core_err(xdev, "%s:Async event %x on QP %d\n", __func__, type, qp->qpn); WARNING: line length of 82 exceeds 80 columns #815: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:699: + ret = xsc_eth_open_cq(c, &c->qp.rq[i].cq, &chl_param->rqcq_param); WARNING: line length of 82 exceeds 80 columns #823: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:707: + ret = xsc_eth_open_cq(c, &c->qp.sq[i].cq, &chl_param->sqcq_param); WARNING: line length of 83 exceeds 80 columns #831: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:715: + ret = xsc_eth_open_qp_sq(c, &c->qp.sq[i], &chl_param->sq_param, i); WARNING: line length of 89 exceeds 80 columns #860: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:744: +static int xsc_eth_modify_qps_channel(struct xsc_adapter *adapter, struct xsc_channel *c) WARNING: line length of 83 exceeds 80 columns #867: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:751: + ret = xsc_core_eth_modify_qp_status(adapter->xdev, c->qp.rq[i].rqn, WARNING: line length of 83 exceeds 80 columns #874: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:758: + ret = xsc_core_eth_modify_qp_status(adapter->xdev, c->qp.sq[i].sqn, WARNING: line length of 102 exceeds 80 columns #972: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:856: + struct xsc_wqe_frag_info *wi, u32 cqe_bcnt, u8 has_pph) WARNING: line length of 89 exceeds 80 columns #1011: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:895: + prq->wqe.frags = kvzalloc_node(array_size((wq_sz << prq->wqe.info.log_num_frags), WARNING: line length of 87 exceeds 80 columns #1030: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:914: + pagepool_params.flags = 0; /* No-internal DMA mapping in page_pool */ WARNING: line length of 86 exceeds 80 columns #1126: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1010: + hw_npages = DIV_ROUND_UP(prq->wq_ctrl.buf.size, PAGE_SIZE_4K); WARNING: line length of 86 exceeds 80 columns #1153: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1037: + hw_npages = DIV_ROUND_UP(prq->wq_ctrl.buf.size, PAGE_SIZE_4K); WARNING: line length of 81 exceeds 80 columns #1157: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1041: + req->log_rq_sz = ilog2(adapter->xdev->caps.recv_ds_num) + WARNING: line length of 82 exceeds 80 columns #1162: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1046: + req->glb_funcid = cpu_to_be16(adapter->xdev->glb_func_id); WARNING: line length of 98 exceeds 80 columns #1164: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1048: + xsc_core_fill_page_frag_array(&prq->wq_ctrl.buf, &req->pas[0], hw_npages); WARNING: line length of 93 exceeds 80 columns #1166: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1050: + req = (struct xsc_create_qp_request *)(&in->data[0] + entry_len * n); WARNING: line length of 82 exceeds 80 columns #1170: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1054: + ret = xsc_core_eth_create_rss_qp_rqs(adapter->xdev, in, inlen, &rqn_base); WARNING: line length of 88 exceeds 80 columns #1184: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1068: + ret = xsc_core_create_resource_common(adapter->xdev, &prq->cqp); WARNING: line length of 90 exceeds 80 columns #1296: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1180: + ret = xsc_eth_open_rss_qp_rqs(adapter, &chl_param->rq_param, chls, chls->num_chl); WARNING: line length of 86 exceeds 80 columns #1338: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1222: + xsc_core_dbg(adapter->xdev, "start to close channel%d\n", c->chl_idx); WARNING: line length of 82 exceeds 80 columns #1387: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1271: + psq->txq = netdev_get_tx_queue(psq->channel->netdev, psq->txq_ix); WARNING: line length of 90 exceeds 80 columns #1462: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1346: + xsc_netdev_set_tcs(adapter, adapter->channels.num_chl, adapter->nic_param.num_tc); WARNING: line length of 82 exceeds 80 columns #1511: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1395: +static u8 xsc_query_vport_state(struct xsc_core_device *dev, u16 opmod, u16 vport) WARNING: line length of 83 exceeds 80 columns #1527: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1411: + link_up = xsc_query_vport_state(xdev, XSC_CMD_OP_QUERY_VPORT_STATE, vport); WARNING: line length of 89 exceeds 80 columns #1556: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1440: + struct xsc_adapter *adapter = container_of(work, struct xsc_adapter, event_work); WARNING: line length of 98 exceeds 80 columns #1575: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1459: + xsc_core_err(adapter->xdev, "failed to change linkstatus, err=%d\n", err); WARNING: line length of 91 exceeds 80 columns #1579: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1463: + xsc_core_dbg(adapter->xdev, "event cmdtype=%04x\n", out.ctx.resp_cmd_type); WARNING: line length of 88 exceeds 80 columns #1650: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1534: + xsc_core_err(xdev, "failed!! err=%d, status=%d\n", err, out.hdr.status); WARNING: line length of 81 exceeds 80 columns #1673: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1557: + if (xsc_get_pct_drop_config(xdev) && !(netdev->priv_flags & IFF_BONDING)) WARNING: line length of 88 exceeds 80 columns #1679: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1563: + xsc_core_err(xdev, "failed!! err=%d, status=%d\n", err, out.hdr.status); WARNING: line length of 89 exceeds 80 columns #1797: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:1681: + xsc_core_warn(adapter->xdev, "failed to disable nic hca, err=%d\n", ret); WARNING: line length of 83 exceeds 80 columns #1874: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_common.h:33: +#define XSC_ETH_MAX_TC_TOTAL (XSC_ETH_MAX_NUM_CHANNELS * XSC_MAX_NUM_TC) WARNING: line length of 87 exceeds 80 columns #1878: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_common.h:37: + SKB_DATA_ALIGN(sizeof(struct skb_shared_info))) WARNING: line length of 87 exceeds 80 columns #1887: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_common.h:46: + SKB_DATA_ALIGN(sizeof(struct skb_shared_info))) WARNING: line length of 84 exceeds 80 columns #1890: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_common.h:49: + (ilog2(PAGE_SIZE / roundup_pow_of_two(XSC_MIN_SKB_FRAG_SZ))) WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #2020: new file mode 100644 WARNING: line length of 85 exceeds 80 columns #2042: 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 #2253: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_queue.h:103: + struct xsc_wqe_frag_info *wi, u32 cqe_bcnt, u8 has_pph); total: 0 errors, 49 warnings, 0 checks, 2231 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 243eb1308867 ("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, 49 warnings, 0 checks, 2231 lines checked