WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #30: new file mode 100644 WARNING: line length of 87 exceeds 80 columns #2691: FILE: drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmdq.h:35: + u8 owner_status; //init to 0, dma user should change this val to 1 WARNING: line length of 92 exceeds 80 columns #2764: FILE: drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmdq.h:108: + 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 #2774: FILE: drivers/net/ethernet/yunsilicon/xsc/common/xsc_cmdq.h:118: + 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 #3129: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:160: + if (xor8_buf(block->rsvd0, sizeof(*block) - sizeof(block->data) - 1) != 0xff) WARNING: line length of 92 exceeds 80 columns #3141: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:172: + block->ctrl_sig = ~xor8_buf(block->rsvd0, sizeof(*block) - sizeof(block->data) - 2); WARNING: line length of 86 exceeds 80 columns #3194: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:225: + xsc_pr_debug("%03x: %08x %08x %08x %08x\n", offset, be32_to_cpu(p[0]), WARNING: line length of 86 exceeds 80 columns #3195: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:226: + be32_to_cpu(p[1]), be32_to_cpu(p[2]), be32_to_cpu(p[3])); WARNING: line length of 84 exceeds 80 columns #3641: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:672: +static void dump_command(struct xsc_core_device *xdev, struct xsc_cmd_mailbox *next, WARNING: line length of 81 exceeds 80 columns #3650: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:681: + xsc_core_dbg(xdev, "dump command %s(0x%x) %s\n", xsc_command_str(op), op, WARNING: line length of 89 exceeds 80 columns #3671: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:702: + struct xsc_cmd_work_ent *ent = container_of(work, struct xsc_cmd_work_ent, work); WARNING: line length of 86 exceeds 80 columns #3673: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:704: + struct xsc_core_device *xdev = container_of(cmd, struct xsc_core_device, cmd); WARNING: line length of 95 exceeds 80 columns #3720: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:751: + xsc_core_dbg(xdev, "write 0x%x to command doorbell, idx %u\n", cmd->cmd_pid, ent->idx); WARNING: line length of 85 exceeds 80 columns #3863: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:894: + err = xsc_cmd_exec(xdev, dbg->in_msg, dbg->inlen, dbg->out_msg, dbg->outlen); WARNING: line length of 90 exceeds 80 columns #4266: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1297: + cmd->cq_task = kthread_create(cmd_cq_polling, (void *)xdev, "xsc_cmd_cq_polling"); WARNING: line length of 82 exceeds 80 columns #4321: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1352: + struct xsc_rsp_msg *out, u16 dummy_cnt, u16 dummy_start_pid) WARNING: line length of 90 exceeds 80 columns #4334: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1365: + dummy_ent_arr = kcalloc(dummy_cnt, sizeof(struct xsc_cmd_work_ent *), GFP_KERNEL); WARNING: line length of 96 exceeds 80 columns #4365: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1396: + memcpy(lay->in, dummy_ent_arr[i]->in->first.data, sizeof(dummy_ent_arr[i]->in)); WARNING: line length of 89 exceeds 80 columns #4384: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1415: + xsc_core_dbg(xdev, "write 0x%x to command doorbell, idx %u ~ %u\n", cmd->cmd_pid, WARNING: line length of 91 exceeds 80 columns #4389: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1420: + xsc_core_err(xdev, "dummy_cmd %d ent timeout, cmdq fail\n", dummy_cnt - 1); WARNING: line length of 93 exceeds 80 columns #4415: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1446: +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 #4455: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1486: +static int xsc_send_dummy_cmd(struct xsc_core_device *xdev, u16 gap, u16 dummy_start) WARNING: line length of 93 exceeds 80 columns #4470: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1501: + err = xsc_dummy_cmd_exec(xdev, &in, sizeof(in), out, sizeof(*out), gap, dummy_start); WARNING: line length of 99 exceeds 80 columns #4504: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1535: + 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 #4518: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1549: +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 #4641: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1672: +static void xsc_cmd_comp_handler(struct xsc_core_device *xdev, u8 idx, struct xsc_rsp_layout *rsp) WARNING: line length of 98 exceeds 80 columns #4648: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1679: + xsc_core_err(xdev, "idx[%d] exceed max cmds, or has no relative request.\n", idx); WARNING: line length of 83 exceeds 80 columns #4655: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1686: + memcpy(ent->out->first.data, ent->rsp_lay->out, sizeof(ent->rsp_lay->out)); WARNING: line length of 86 exceeds 80 columns #4755: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1786: + writel(xdev->cmd.cmd_pid, REG_ADDR(xdev, xdev->cmd.reg.req_pid_addr)); WARNING: line length of 81 exceeds 80 columns #4838: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1869: + cmd->pool = dma_pool_create("xsc_cmd", &xdev->pdev->dev, size, align, 0); WARNING: line length of 88 exceeds 80 columns #4937: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1968: + (unsigned long long)(cmd->dma), (unsigned long long)(cmd->cq_dma)); WARNING: line length of 90 exceeds 80 columns #4956: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:1987: + cmd->cq_task = kthread_create(cmd_cq_polling, (void *)xdev, "xsc_cmd_cq_polling"); WARNING: line length of 93 exceeds 80 columns #4973: FILE: drivers/net/ethernet/yunsilicon/xsc/pci/cmdq.c:2004: + xsc_core_warn(xdev, "err_stat 0x%x when initializing, clear it\n", err_stat); total: 0 errors, 33 warnings, 0 checks, 5183 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 2b50315a493b ("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, 33 warnings, 0 checks, 5183 lines checked