WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #32: new file mode 100644 WARNING: line length of 87 exceeds 80 columns #806: FILE: drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmdq.h:32: + u8 owner_status; //init to 0, dma user should change this val to 1 WARNING: line length of 92 exceeds 80 columns #879: FILE: drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmdq.h:105: + u8 owner_bit: 1; //rsv for hw, arm will check this bit to make sure mem written WARNING: line length of 95 exceeds 80 columns #889: FILE: drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmdq.h:115: + u8 owner_bit: 1; //rsv for hw, driver will check this bit to make sure mem written WARNING: line length of 85 exceeds 80 columns #1211: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:129: + if (xor8_buf(block->rsvd0, sizeof(*block) - sizeof(block->data) - 1) != 0xff) WARNING: line length of 92 exceeds 80 columns #1223: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:141: + block->ctrl_sig = ~xor8_buf(block->rsvd0, sizeof(*block) - sizeof(block->data) - 2); WARNING: line length of 89 exceeds 80 columns #1366: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:284: + struct xsc_cmd_work_ent *ent = container_of(work, struct xsc_cmd_work_ent, work); WARNING: line length of 86 exceeds 80 columns #1368: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:286: + struct xsc_core_device *xdev = container_of(cmd, struct xsc_core_device, cmd); WARNING: line length of 90 exceeds 80 columns #1790: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:708: + cmd->cq_task = kthread_create(cmd_cq_polling, (void *)xdev, "xsc_cmd_cq_polling"); WARNING: line length of 82 exceeds 80 columns #1845: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:763: + struct xsc_rsp_msg *out, u16 dummy_cnt, u16 dummy_start_pid) WARNING: line length of 90 exceeds 80 columns #1858: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:776: + dummy_ent_arr = kcalloc(dummy_cnt, sizeof(struct xsc_cmd_work_ent *), GFP_KERNEL); WARNING: line length of 96 exceeds 80 columns #1889: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:807: + memcpy(lay->in, dummy_ent_arr[i]->in->first.data, sizeof(dummy_ent_arr[i]->in)); WARNING: line length of 92 exceeds 80 columns #1910: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:828: + pci_err(xdev->pdev, "dummy_cmd %d ent timeout, cmdq fail\n", dummy_cnt - 1); WARNING: line length of 93 exceeds 80 columns #1934: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:852: +static int xsc_dummy_cmd_exec(struct xsc_core_device *xdev, void *in, int in_size, void *out, WARNING: line length of 85 exceeds 80 columns #1974: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:892: +static int xsc_send_dummy_cmd(struct xsc_core_device *xdev, u16 gap, u16 dummy_start) WARNING: line length of 93 exceeds 80 columns #1989: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:907: + err = xsc_dummy_cmd_exec(xdev, &in, sizeof(in), out, sizeof(*out), gap, dummy_start); WARNING: line length of 99 exceeds 80 columns #2024: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:942: + gap = (req_pid > req_cid) ? (req_pid - req_cid) : ((1 << cmd->log_sz) + req_pid - req_cid); WARNING: line length of 88 exceeds 80 columns #2036: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:954: +static int _xsc_cmd_exec(struct xsc_core_device *xdev, void *in, int in_size, void *out, WARNING: line length of 98 exceeds 80 columns #2159: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1077: +static void xsc_cmd_comp_handler(struct xsc_core_device *xdev, u8 idx, struct xsc_rsp_layout *rsp) WARNING: line length of 99 exceeds 80 columns #2166: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1084: + pci_err(xdev->pdev, "idx[%d] exceed max cmds, or has no relative request.\n", idx); WARNING: line length of 83 exceeds 80 columns #2173: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1091: + memcpy(ent->out->first.data, ent->rsp_lay->out, sizeof(ent->rsp_lay->out)); WARNING: line length of 86 exceeds 80 columns #2264: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1182: + writel(xdev->cmd.cmd_pid, REG_ADDR(xdev, xdev->cmd.reg.req_pid_addr)); WARNING: line length of 81 exceeds 80 columns #2347: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1265: + cmd->pool = dma_pool_create("xsc_cmd", &xdev->pdev->dev, size, align, 0); WARNING: line length of 90 exceeds 80 columns #2462: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1380: + cmd->cq_task = kthread_create(cmd_cq_polling, (void *)xdev, "xsc_cmd_cq_polling"); WARNING: line length of 85 exceeds 80 columns #2479: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1397: + pci_err(xdev->pdev, "err_stat 0x%x when init, clear it\n", err_stat); total: 0 errors, 25 warnings, 0 checks, 2675 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 a2315679cae7 ("net-next/yunsilicon: Enable CMDQ") 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, 25 warnings, 0 checks, 2675 lines checked