WARNING: Non-standard signature: Submitted-by: #15: Submitted-by: Gur Stavi WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #73: new file mode 100644 WARNING: line length of 84 exceeds 80 columns #221: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:144: +void hinic3_free_cmd_buf(struct hinic3_hwdev *hwdev, struct hinic3_cmd_buf *cmd_buf) WARNING: line length of 96 exceeds 80 columns #325: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:248: + dev_warn(hwdev->dev, "Cmdq timeout, q_id: %u, ci: %u\n", cmdq_type, ci); WARNING: line length of 83 exceeds 80 columns #332: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:255: + /* only arm bit is using scmd wqe, the other wqe is lcmd */ WARNING: line length of 87 exceeds 80 columns #408: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:331: + const struct hinic3_cmdq_header *src = (struct hinic3_cmdq_header *)shadow_wqe; WARNING: line length of 81 exceeds 80 columns #412: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:335: + len = sizeof(struct hinic3_cmdq_wqe) - sizeof(struct hinic3_cmdq_header); WARNING: line length of 85 exceeds 80 columns #517: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:440: + struct hinic3_cmdq_cmd_info *saved_cmd_info, WARNING: line length of 83 exceeds 80 columns #556: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:479: + struct hinic3_cmd_buf *buf_in, u64 *out_param) WARNING: line length of 95 exceeds 80 columns #613: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:536: + dev_dbg(cmdq->hwdev->dev, "Force stop cmdq cmd, mod: %u, cmd: %u\n", mod, cmd); WARNING: line length of 81 exceeds 80 columns #736: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:659: +static int create_cmdq_wq(struct hinic3_hwdev *hwdev, struct hinic3_cmdqs *cmdqs) WARNING: line length of 97 exceeds 80 columns #750: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:673: + /* 1-level Chip Logical Address (CLA) must put all cmdq's wq page addr in one wq block */ WARNING: line length of 82 exceeds 80 columns #762: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:685: + &cmdqs->wq_block_paddr, WARNING: line length of 92 exceeds 80 columns #773: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:696: + cmdqs->cmdq[cmdq_type].wq.qpages.num_pages * sizeof(__be64)); WARNING: line length of 83 exceeds 80 columns #787: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:710: +static void destroy_cmdq_wq(struct hinic3_hwdev *hwdev, struct hinic3_cmdqs *cmdqs) WARNING: line length of 96 exceeds 80 columns #812: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:735: + HINIC3_CMDQ_BUF_SIZE, HINIC3_CMDQ_BUF_SIZE, 0ULL); WARNING: line length of 95 exceeds 80 columns #924: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:847: + dev_err(hwdev->dev, "Failed to initialize cmdq type :%d\n", cmdq_type); WARNING: line length of 85 exceeds 80 columns #1121: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.h:140: +void hinic3_free_cmd_buf(struct hinic3_hwdev *hwdev, struct hinic3_cmd_buf *cmd_buf); WARNING: line length of 86 exceeds 80 columns #1279: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_csr.h:47: + ((type == HINIC3_AEQ) ? HINIC3_AEQ_INDIR_IDX_ADDR : HINIC3_CEQ_INDIR_IDX_ADDR) WARNING: line length of 81 exceeds 80 columns #1287: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_csr.h:55: + (HINIC3_AEQ_MTT_OFF_BASE_ADDR + (pg_num) * HINIC3_CSR_EQ_PAGE_OFF_STRIDE) WARNING: line length of 85 exceeds 80 columns #1290: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_csr.h:58: + (HINIC3_AEQ_MTT_OFF_BASE_ADDR + (pg_num) * HINIC3_CSR_EQ_PAGE_OFF_STRIDE + 4) WARNING: line length of 81 exceeds 80 columns #1293: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_csr.h:61: + (HINIC3_CEQ_MTT_OFF_BASE_ADDR + (pg_num) * HINIC3_CSR_EQ_PAGE_OFF_STRIDE) WARNING: line length of 85 exceeds 80 columns #1296: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_csr.h:64: + (HINIC3_CEQ_MTT_OFF_BASE_ADDR + (pg_num) * HINIC3_CSR_EQ_PAGE_OFF_STRIDE + 4) WARNING: line length of 82 exceeds 80 columns #1406: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:94: +static const struct hinic3_aeq_elem *get_curr_aeq_elem(const struct hinic3_eq *eq) WARNING: line length of 82 exceeds 80 columns #1416: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:104: +int hinic3_aeq_register_cb(struct hinic3_hwdev *hwdev, enum hinic3_aeq_type event, WARNING: line length of 85 exceeds 80 columns #1429: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:117: +void hinic3_aeq_unregister_cb(struct hinic3_hwdev *hwdev, enum hinic3_aeq_type event) WARNING: line length of 83 exceeds 80 columns #1445: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:133: +int hinic3_ceq_register_cb(struct hinic3_hwdev *hwdev, enum hinic3_ceq_event event, WARNING: line length of 86 exceeds 80 columns #1456: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:144: +void hinic3_ceq_unregister_cb(struct hinic3_hwdev *hwdev, enum hinic3_ceq_event event) WARNING: line length of 81 exceeds 80 columns #1763: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:451: + err = hinic3_set_ceq_ctrl_reg(eq->hwdev, eq->q_id, ctrl0, ctrl1); WARNING: line length of 84 exceeds 80 columns #1997: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:685: + err = init_eq(&aeqs->aeq[q_id], hwdev, q_id, HINIC3_DEFAULT_AEQ_LEN, WARNING: line length of 84 exceeds 80 columns #2059: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:747: + err = init_eq(&ceqs->ceq[q_id], hwdev, q_id, HINIC3_DEFAULT_CEQ_LEN, WARNING: line length of 83 exceeds 80 columns #2182: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.h:78: +typedef void (*hinic3_aeq_event_cb)(struct hinic3_hwdev *hwdev, u8 *data, u8 size); WARNING: line length of 81 exceeds 80 columns #2489: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hwif.c:74: +void hinic3_free_db_addr(struct hinic3_hwdev *hwdev, const void __iomem *db_base, WARNING: line length of 87 exceeds 80 columns #2497: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hwif.c:82: + distance = (const char __iomem *)db_base - (const char __iomem *)hwif->db_base; WARNING: line length of 81 exceeds 80 columns #2608: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hwif.h:63: +void hinic3_free_db_addr(struct hinic3_hwdev *hwdev, const void __iomem *db_base, WARNING: line length of 86 exceeds 80 columns #2681: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:55: + hinic3_misx_intr_clear_resend_bit(nic_dev->hwdev, irq_cfg->msix_entry_idx, 1); WARNING: line length of 82 exceeds 80 columns #2712: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:86: + err = request_irq(irq_cfg->irq_id, qp_irq, 0, irq_cfg->irq_name, irq_cfg); WARNING: line length of 88 exceeds 80 columns #2764: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:138: + hinic3_set_msix_auto_mask_state(nic_dev->hwdev, irq_cfg->msix_entry_idx, WARNING: line length of 99 exceeds 80 columns #2766: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:140: + hinic3_set_msix_state(nic_dev->hwdev, irq_cfg->msix_entry_idx, HINIC3_MSIX_ENABLE); WARNING: line length of 100 exceeds 80 columns #2774: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:148: + hinic3_set_msix_state(nic_dev->hwdev, irq_cfg->msix_entry_idx, HINIC3_MSIX_DISABLE); WARNING: line length of 88 exceeds 80 columns #2775: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:149: + hinic3_set_msix_auto_mask_state(nic_dev->hwdev, irq_cfg->msix_entry_idx, WARNING: line length of 84 exceeds 80 columns #2871: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:74: + enum hinic3_msg_direction_type dir, WARNING: line length of 92 exceeds 80 columns #2916: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:119: + if (seq_id != msg_desc->seq_id + 1 || msg_id != msg_desc->msg_info.msg_id || WARNING: line length of 83 exceeds 80 columns #2969: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:172: +void hinic3_mbox_func_aeqe_handler(struct hinic3_hwdev *hwdev, u8 *header, u8 size) WARNING: line length of 85 exceeds 80 columns #2984: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:187: +static int init_mbox_dma_queue(struct hinic3_hwdev *hwdev, struct mbox_dma_queue *mq) WARNING: line length of 86 exceeds 80 columns #2993: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:196: + mq->dma_buff_vaddr = dma_alloc_coherent(hwdev->dev, size, &mq->dma_buff_paddr, WARNING: line length of 88 exceeds 80 columns #3001: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:204: +static void deinit_mbox_dma_queue(struct hinic3_hwdev *hwdev, struct mbox_dma_queue *mq) WARNING: line length of 86 exceeds 80 columns #3251: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:454: +static int mbox_prepare_dma_entry(struct hinic3_mbox *mbox, struct mbox_dma_queue *mq, WARNING: line length of 93 exceeds 80 columns #3252: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:455: + struct mbox_dma_msg *dma_msg, const void *msg, u32 msg_len) WARNING: line length of 88 exceeds 80 columns #3272: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:475: + dma_msg->xor = mbox_dma_msg_xor(dma_vaddr, ALIGN(msg_len, MBOX_XOR_DATA_ALIGN)); WARNING: line length of 92 exceeds 80 columns #3278: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:481: +static int mbox_prepare_dma_msg(struct hinic3_mbox *mbox, enum hinic3_msg_ack_type ack_type, WARNING: line length of 91 exceeds 80 columns #3279: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:482: + struct mbox_dma_msg *dma_msg, const void *msg, u32 msg_len) WARNING: line length of 84 exceeds 80 columns #3365: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:568: + hinic3_hwif_write_reg(hwif, HINIC3_FUNC_CSR_MAILBOX_CONTROL_OFF, mbox_ctrl); WARNING: line length of 83 exceeds 80 columns #3457: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:660: + err = mbox_prepare_dma_msg(mbox, ack_type, &dma_msg, msg, msg_len); WARNING: line length of 92 exceeds 80 columns #3545: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:748: + u16 dst_func, const void *buf_in, u32 in_size, void *buf_out, WARNING: line length of 82 exceeds 80 columns #3609: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:812: +static int hinic3_mbox_to_func_no_ack(struct hinic3_hwdev *hwdev, u8 mod, u16 cmd, WARNING: line length of 84 exceeds 80 columns #3610: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:813: + u16 dst_func, const void *buf_in, u32 in_size) WARNING: line length of 84 exceeds 80 columns #3777: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.h:137: +void hinic3_mbox_func_aeqe_handler(struct hinic3_hwdev *hwdev, u8 *header, u8 size); WARNING: line length of 82 exceeds 80 columns #3839: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:40: + wq->wq_block_vaddr[i] = cpu_to_be64(qpages->pages[i].align_paddr); WARNING: line length of 83 exceeds 80 columns #3872: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:73: +int hinic3_wq_create(struct hinic3_hwdev *hwdev, struct hinic3_wq *wq, u32 q_depth, WARNING: line length of 83 exceeds 80 columns #3937: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_wq.h:77: +int hinic3_wq_create(struct hinic3_hwdev *hwdev, struct hinic3_wq *wq, u32 q_depth, total: 0 errors, 61 warnings, 0 checks, 3785 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 88120d2f6eb4 ("net: hinic3: management interfaces") 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, 61 warnings, 0 checks, 3785 lines checked