WARNING: line length of 84 exceeds 80 columns #546: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:195: +void hinic3_free_cmd_buf(struct hinic3_hwdev *hwdev, struct hinic3_cmd_buf *cmd_buf) WARNING: line length of 96 exceeds 80 columns #688: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:337: + dev_warn(hwdev->dev, "Cmdq timeout, q_id: %u, ci: %u\n", cmdq_type, ci); WARNING: line length of 83 exceeds 80 columns #701: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:350: + /* only arm bit is using scmd wqe, the other wqe is lcmd */ WARNING: line length of 99 exceeds 80 columns #724: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:373: +static int cmdq_params_valid(const struct hinic3_hwdev *hwdev, const struct hinic3_cmd_buf *buf_in) WARNING: line length of 86 exceeds 80 columns #727: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:376: + dev_err(hwdev->dev, "Invalid CMDQ buffer size: 0x%x\n", buf_in->size); WARNING: line length of 87 exceeds 80 columns #795: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:444: + const struct hinic3_cmdq_header *src = (struct hinic3_cmdq_header *)shadow_wqe; WARNING: line length of 81 exceeds 80 columns #799: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:448: + len = sizeof(struct hinic3_cmdq_wqe) - sizeof(struct hinic3_cmdq_header); WARNING: line length of 85 exceeds 80 columns #973: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:622: + struct hinic3_cmdq_cmd_info *saved_cmd_info, WARNING: line length of 87 exceeds 80 columns #975: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:624: + struct hinic3_cmdq_wqe *curr_wqe, u32 timeout) WARNING: line length of 83 exceeds 80 columns #983: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:632: + struct hinic3_cmd_buf *buf_in, u64 *out_param) WARNING: line length of 95 exceeds 80 columns #1048: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:697: + dev_dbg(cmdq->hwdev->dev, "Force stop cmdq cmd, mod: %u, cmd: %u\n", mod, cmd); WARNING: line length of 84 exceeds 80 columns #1059: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:708: + struct hinic3_cmd_buf *buf_out, u64 *out_param) WARNING: line length of 95 exceeds 80 columns #1118: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:767: + dev_dbg(cmdq->hwdev->dev, "Force stop cmdq cmd, mod: %u, cmd: %u\n", mod, cmd); WARNING: line length of 90 exceeds 80 columns #1127: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:776: +int hinic3_cmd_buf_pair_init(struct hinic3_hwdev *hwdev, struct hinic3_cmd_buf_pair *pair) WARNING: line length of 93 exceeds 80 columns #1139: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:788: +void hinic3_cmd_buf_pair_uninit(struct hinic3_hwdev *hwdev, struct hinic3_cmd_buf_pair *pair) WARNING: line length of 90 exceeds 80 columns #1265: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:914: + err = hinic3_msg_to_mgmt_sync(hwdev, HINIC3_MOD_COMM, COMM_MGMT_CMD_SET_CMDQ_CTXT, WARNING: line length of 81 exceeds 80 columns #1296: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:945: +static int create_cmdq_wq(struct hinic3_hwdev *hwdev, struct hinic3_cmdqs *cmdqs) WARNING: line length of 97 exceeds 80 columns #1311: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:960: + /* 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 #1323: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:972: + &cmdqs->wq_block_paddr, WARNING: line length of 87 exceeds 80 columns #1335: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:984: + cmdqs->cmdq[type].wq.qpages.num_pages * sizeof(__be64)); WARNING: line length of 83 exceeds 80 columns #1348: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:997: +static void destroy_cmdq_wq(struct hinic3_hwdev *hwdev, struct hinic3_cmdqs *cmdqs) WARNING: line length of 96 exceeds 80 columns #1374: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:1023: + HINIC3_CMDQ_BUF_SIZE, HINIC3_CMDQ_BUF_SIZE, 0ULL); WARNING: line length of 86 exceeds 80 columns #1493: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:1142: + for (cmdq_type = HINIC3_CMDQ_SYNC; cmdq_type < cmdqs->cmdq_num; cmdq_type++) { WARNING: line length of 95 exceeds 80 columns #1496: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.c:1145: + dev_err(hwdev->dev, "Failed to initialize cmdq type :%d\n", cmdq_type); WARNING: line length of 85 exceeds 80 columns #1722: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.h:169: +void hinic3_free_cmd_buf(struct hinic3_hwdev *hwdev, struct hinic3_cmd_buf *cmd_buf); WARNING: line length of 91 exceeds 80 columns #1725: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.h:172: +int hinic3_cmd_buf_pair_init(struct hinic3_hwdev *hwdev, struct hinic3_cmd_buf_pair *pair); WARNING: line length of 94 exceeds 80 columns #1726: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_cmdq.h:173: +void hinic3_cmd_buf_pair_uninit(struct hinic3_hwdev *hwdev, struct hinic3_cmd_buf_pair *pair); WARNING: line length of 86 exceeds 80 columns #1973: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_csr.h:56: + ((type == HINIC3_AEQ) ? HINIC3_AEQ_INDIR_IDX_ADDR : HINIC3_CEQ_INDIR_IDX_ADDR) WARNING: line length of 81 exceeds 80 columns #1981: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_csr.h:64: + (HINIC3_AEQ_MTT_OFF_BASE_ADDR + (pg_num) * HINIC3_CSR_EQ_PAGE_OFF_STRIDE) WARNING: line length of 85 exceeds 80 columns #1984: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_csr.h:67: + (HINIC3_AEQ_MTT_OFF_BASE_ADDR + (pg_num) * HINIC3_CSR_EQ_PAGE_OFF_STRIDE + 4) WARNING: line length of 81 exceeds 80 columns #1987: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_csr.h:70: + (HINIC3_CEQ_MTT_OFF_BASE_ADDR + (pg_num) * HINIC3_CSR_EQ_PAGE_OFF_STRIDE) WARNING: line length of 85 exceeds 80 columns #1990: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_csr.h:73: + (HINIC3_CEQ_MTT_OFF_BASE_ADDR + (pg_num) * HINIC3_CSR_EQ_PAGE_OFF_STRIDE + 4) WARNING: line length of 82 exceeds 80 columns #2125: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:117: +static const struct hinic3_aeq_elem *get_curr_aeq_elem(const struct hinic3_eq *eq) WARNING: line length of 85 exceeds 80 columns #2135: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:127: +int hinic3_aeq_register_hw_cb(struct hinic3_hwdev *hwdev, enum hinic3_aeq_type event, WARNING: line length of 88 exceeds 80 columns #2148: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:140: +void hinic3_aeq_unregister_hw_cb(struct hinic3_hwdev *hwdev, enum hinic3_aeq_type event) WARNING: line length of 83 exceeds 80 columns #2163: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:155: +int hinic3_ceq_register_cb(struct hinic3_hwdev *hwdev, enum hinic3_ceq_event event, WARNING: line length of 86 exceeds 80 columns #2176: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:168: +void hinic3_ceq_unregister_cb(struct hinic3_hwdev *hwdev, enum hinic3_ceq_event event) WARNING: line length of 93 exceeds 80 columns #2430: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:422: + err = hinic3_msg_to_mgmt_sync(hwdev, HINIC3_MOD_COMM, COMM_MGMT_CMD_SET_CEQ_CTRL_REG, WARNING: line length of 81 exceeds 80 columns #2487: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:479: + err = hinic3_set_ceq_ctrl_reg(eq->hwdev, eq->q_id, ctrl0, ctrl1); WARNING: line length of 84 exceeds 80 columns #2732: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:724: + err = init_eq(&aeqs->aeq[q_id], hwdev, q_id, HINIC3_DEFAULT_AEQ_LEN, WARNING: line length of 90 exceeds 80 columns #2800: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:792: + hinic3_hwif_write_reg(eq->hwdev->hwif, HINIC3_EQ_INDIR_IDX_ADDR(eq->type), WARNING: line length of 92 exceeds 80 columns #2807: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:799: + idx = hinic3_hwif_read_reg(hwdev->hwif, HINIC3_EQ_INDIR_IDX_ADDR(eq->type)); WARNING: line length of 81 exceeds 80 columns #2817: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:809: + eq->wrapped, be32_to_cpu(aeqe_pos->desc), eq->cons_idx); WARNING: line length of 84 exceeds 80 columns #2838: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.c:830: + err = init_eq(&ceqs->ceq[q_id], hwdev, q_id, HINIC3_DEFAULT_CEQ_LEN, WARNING: line length of 81 exceeds 80 columns #3020: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.h:92: +typedef void (*hinic3_aeq_hwe_cb)(struct hinic3_hwdev *hwdev, u8 *data, u8 size); WARNING: line length of 84 exceeds 80 columns #3066: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.h:138: + enum hinic3_aeq_type event, hinic3_aeq_hwe_cb hwe_cb); WARNING: line length of 89 exceeds 80 columns #3067: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.h:139: +void hinic3_aeq_unregister_hw_cb(struct hinic3_hwdev *hwdev, enum hinic3_aeq_type event); WARNING: line length of 83 exceeds 80 columns #3076: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.h:148: +int hinic3_ceq_register_cb(struct hinic3_hwdev *hwdev, enum hinic3_ceq_event event, WARNING: line length of 87 exceeds 80 columns #3078: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_eqs.h:150: +void hinic3_ceq_unregister_cb(struct hinic3_hwdev *hwdev, enum hinic3_ceq_event event); WARNING: line length of 82 exceeds 80 columns #3237: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:151: + .arr_size = ARRAY_SIZE(hinic3_mag_link_mode_10ge_base_r), WARNING: line length of 82 exceeds 80 columns #3242: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:156: + .arr_size = ARRAY_SIZE(hinic3_mag_link_mode_25ge_base_r), WARNING: line length of 83 exceeds 80 columns #3247: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:161: + .arr_size = ARRAY_SIZE(hinic3_mag_link_mode_40ge_base_r4), WARNING: line length of 82 exceeds 80 columns #3252: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:166: + .arr_size = ARRAY_SIZE(hinic3_mag_link_mode_50ge_base_r), WARNING: line length of 83 exceeds 80 columns #3257: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:171: + .arr_size = ARRAY_SIZE(hinic3_mag_link_mode_50ge_base_r2), WARNING: line length of 83 exceeds 80 columns #3262: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:176: + .arr_size = ARRAY_SIZE(hinic3_mag_link_mode_100ge_base_r), WARNING: line length of 84 exceeds 80 columns #3267: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:181: + .arr_size = ARRAY_SIZE(hinic3_mag_link_mode_100ge_base_r2), WARNING: line length of 84 exceeds 80 columns #3272: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:186: + .arr_size = ARRAY_SIZE(hinic3_mag_link_mode_100ge_base_r4), WARNING: line length of 84 exceeds 80 columns #3277: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:191: + .arr_size = ARRAY_SIZE(hinic3_mag_link_mode_200ge_base_r2), WARNING: line length of 84 exceeds 80 columns #3282: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:196: + .arr_size = ARRAY_SIZE(hinic3_mag_link_mode_200ge_base_r4), WARNING: line length of 91 exceeds 80 columns #3305: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:219: +static void ethtool_add_speed_link_mode(__ETHTOOL_DECLARE_LINK_MODE_MASK(bitmap), u32 mode) WARNING: line length of 97 exceeds 80 columns #3334: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:248: + ethtool_add_speed_link_mode(link_settings->supported, link_mode); WARNING: line length of 99 exceeds 80 columns #3336: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:250: + ethtool_add_speed_link_mode(link_settings->advertising, link_mode); WARNING: line length of 81 exceeds 80 columns #3427: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:341: + ETHTOOL_ADD_ADVERTISED_LINK_MODE(link_settings, MODE_Asym_Pause); WARNING: line length of 81 exceeds 80 columns #3430: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:344: + ETHTOOL_ADD_ADVERTISED_LINK_MODE(link_settings, MODE_Asym_Pause); WARNING: line length of 82 exceeds 80 columns #3470: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:384: + struct ethtool_link_ksettings *link_settings) WARNING: line length of 83 exceeds 80 columns #3880: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:794: + memset(&data[i], 0, ARRAY_SIZE(hinic3_port_stats) * sizeof(*data)); WARNING: line length of 82 exceeds 80 columns #4016: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:930: +static void hinic3_get_strings(struct net_device *netdev, u32 stringset, u8 *data) WARNING: line length of 85 exceeds 80 columns #4131: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:1045: + netdev_err(netdev, "rx_max_coalesced_frames out of range %d-%d\n", 0, WARNING: line length of 83 exceeds 80 columns #4137: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:1051: + netdev_err(netdev, "rx_coalesce_usecs_low out of range %d-%d\n", 0, WARNING: line length of 84 exceeds 80 columns #4149: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:1063: + netdev_err(netdev, "rx_coalesce_usecs_high out of range %d-%d\n", 0, WARNING: line length of 96 exceeds 80 columns #4261: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:1175: + netdev_dbg(netdev, "Change %s from %d to %u %s\n", str, ori_val, item, obj_str); WARNING: line length of 83 exceeds 80 columns #4369: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_ethtool.c:1283: + /* ensure coalesce parameter will not be changed in auto moderation work */ WARNING: line length of 94 exceeds 80 columns #4454: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:22: + return hinic3_set_mac(nic_dev->hwdev, addr, 0, hinic3_global_func_id(nic_dev->hwdev)); WARNING: line length of 94 exceeds 80 columns #4465: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:33: + return hinic3_del_mac(nic_dev->hwdev, addr, 0, hinic3_global_func_id(nic_dev->hwdev)); WARNING: line length of 85 exceeds 80 columns #4489: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:57: +static struct hinic3_mac_filter *hinic3_find_mac(const struct list_head *filter_list, WARNING: line length of 85 exceeds 80 columns #4502: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:70: + struct list_head *mac_filter_list, WARNING: line length of 99 exceeds 80 columns #4541: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:109: +static struct hinic3_mac_filter *hinic3_mac_filter_entry_clone(const struct hinic3_mac_filter *src) WARNING: line length of 81 exceeds 80 columns #4683: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:251: + /* VF does not support promiscuous mode, don't delete any other uc mac */ WARNING: line length of 91 exceeds 80 columns #4712: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:280: + add_count = hinic3_mac_filter_sync(netdev, &nic_dev->uc_filter_list, true); WARNING: line length of 81 exceeds 80 columns #4713: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:281: + if (add_count < 0 && hinic3_test_support(nic_dev, NIC_F_PROMISC)) WARNING: line length of 81 exceeds 80 columns #4714: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:282: + set_bit(HINIC3_PROMISC_FORCE_ON, &nic_dev->rx_mod_state); WARNING: line length of 83 exceeds 80 columns #4716: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:284: + clear_bit(HINIC3_PROMISC_FORCE_ON, &nic_dev->rx_mod_state); WARNING: line length of 92 exceeds 80 columns #4718: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:286: + add_count = hinic3_mac_filter_sync(netdev, &nic_dev->mc_filter_list, false); WARNING: line length of 82 exceeds 80 columns #4719: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:287: + if (add_count < 0 && hinic3_test_support(nic_dev, NIC_F_ALLMULTI)) WARNING: line length of 82 exceeds 80 columns #4720: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:288: + set_bit(HINIC3_ALLMULTI_FORCE_ON, &nic_dev->rx_mod_state); WARNING: line length of 84 exceeds 80 columns #4722: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:290: + clear_bit(HINIC3_ALLMULTI_FORCE_ON, &nic_dev->rx_mod_state); WARNING: line length of 81 exceeds 80 columns #4790: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:358: + if (promisc_en != test_bit(HINIC3_HW_PROMISC_ON, &nic_dev->rx_mod_state)) WARNING: line length of 87 exceeds 80 columns #4791: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:359: + netdev_dbg(netdev, "%s promisc mode\n", promisc_en ? "Enter" : "Left"); WARNING: line length of 90 exceeds 80 columns #4794: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_filter.c:362: + netdev_dbg(netdev, "%s all_multi mode\n", allmulti_en ? "Enter" : "Left"); WARNING: line length of 85 exceeds 80 columns #4920: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_cfg.c:77: + const struct cfg_cmd_dev_cap *dev_cap, enum func_type type) WARNING: line length of 82 exceeds 80 columns #4941: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_cfg.c:98: + err = hinic3_msg_to_mgmt_sync(hwdev, HINIC3_MOD_CFGM, CFG_CMD_GET_DEV_CAP, WARNING: line length of 89 exceeds 80 columns #5196: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_cfg.c:353: +int hinic3_alloc_irqs(struct hinic3_hwdev *hwdev, enum hinic3_service_type type, u16 num, WARNING: line length of 90 exceeds 80 columns #5222: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_cfg.c:379: + dev_warn(hwdev->dev, "only %u irq resource in cfg mgmt.\n", free_num_irq); WARNING: line length of 85 exceeds 80 columns #5241: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_cfg.c:398: + irq_info_array[i].irq_id = alloc_info[j].info.irq_id; WARNING: line length of 91 exceeds 80 columns #5254: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_cfg.c:411: +void hinic3_free_irq(struct hinic3_hwdev *hwdev, enum hinic3_service_type type, u32 irq_id) WARNING: line length of 82 exceeds 80 columns #5286: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_cfg.c:443: + dev_warn(hwdev->dev, "Irq %u doesn't need to be freed\n", irq_id); WARNING: line length of 89 exceeds 80 columns #5417: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_cfg.h:93: +int hinic3_alloc_irqs(struct hinic3_hwdev *hwdev, enum hinic3_service_type type, u16 num, WARNING: line length of 92 exceeds 80 columns #5419: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_cfg.h:95: +void hinic3_free_irq(struct hinic3_hwdev *hwdev, enum hinic3_service_type type, u32 irq_id); WARNING: line length of 89 exceeds 80 columns #5452: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c:20: +static int comm_msg_to_mgmt_sync(struct hinic3_hwdev *hwdev, u16 cmd, const void *buf_in, WARNING: line length of 92 exceeds 80 columns #5459: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c:27: +static int hinic3_get_interrupt_cfg(struct hinic3_hwdev *hwdev, struct interrupt_info *info) WARNING: line length of 92 exceeds 80 columns #5488: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c:56: +int hinic3_set_interrupt_cfg_direct(struct hinic3_hwdev *hwdev, struct interrupt_info *info) WARNING: line length of 84 exceeds 80 columns #5518: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c:86: +int hinic3_set_interrupt_cfg(struct hinic3_hwdev *hwdev, struct interrupt_info info) WARNING: line length of 91 exceeds 80 columns #5564: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c:132: +static int hinic3_comm_features_nego(struct hinic3_hwdev *hwdev, u8 opcode, u64 *s_feature, WARNING: line length of 82 exceeds 80 columns #5595: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c:163: +int hinic3_get_comm_features(struct hinic3_hwdev *hwdev, u64 *s_feature, u16 size) WARNING: line length of 82 exceeds 80 columns #5601: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c:169: +int hinic3_set_comm_features(struct hinic3_hwdev *hwdev, u64 *s_feature, u16 size) WARNING: line length of 85 exceeds 80 columns #5607: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c:175: +int hinic3_get_global_attr(struct hinic3_hwdev *hwdev, struct comm_global_attr *attr) WARNING: line length of 86 exceeds 80 columns #5628: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c:196: +int hinic3_set_func_svc_used_state(struct hinic3_hwdev *hwdev, u16 svc_type, u8 state) WARNING: line length of 90 exceeds 80 columns #5653: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c:221: +int hinic3_set_dma_attr_tbl(struct hinic3_hwdev *hwdev, u8 entry_idx, u8 st, u8 at, u8 ph, WARNING: line length of 99 exceeds 80 columns #5669: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c:237: + err = comm_msg_to_mgmt_sync(hwdev, COMM_MGMT_CMD_SET_DMA_ATTR, &dma_attr, sizeof(dma_attr), WARNING: line length of 84 exceeds 80 columns #5696: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c:264: +int hinic3_set_wq_page_size(struct hinic3_hwdev *hwdev, u16 func_idx, u32 page_size) WARNING: line length of 83 exceeds 80 columns #5904: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c:472: +int hinic3_set_bdf_ctxt(struct hinic3_hwdev *hwdev, u8 bus, u8 device, u8 function) WARNING: line length of 95 exceeds 80 columns #5976: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c:544: +int hinic3_set_root_ctxt(struct hinic3_hwdev *hwdev, u32 rq_depth, u32 sq_depth, int rx_buf_sz) WARNING: line length of 86 exceeds 80 columns #6034: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c:602: +static int hinic3_get_fw_ver(struct hinic3_hwdev *hwdev, enum hinic3_fw_ver_type type, WARNING: line length of 86 exceeds 80 columns #6060: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c:628: +int hinic3_get_mgmt_version(struct hinic3_hwdev *hwdev, u8 *mgmt_ver, u8 version_size) WARNING: line length of 85 exceeds 80 columns #6099: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.h:29: +int hinic3_set_interrupt_cfg(struct hinic3_hwdev *hwdev, struct interrupt_info info); WARNING: line length of 83 exceeds 80 columns #6102: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.h:32: +int hinic3_get_comm_features(struct hinic3_hwdev *hwdev, u64 *s_feature, u16 size); WARNING: line length of 83 exceeds 80 columns #6103: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.h:33: +int hinic3_set_comm_features(struct hinic3_hwdev *hwdev, u64 *s_feature, u16 size); WARNING: line length of 86 exceeds 80 columns #6104: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.h:34: +int hinic3_get_global_attr(struct hinic3_hwdev *hwdev, struct comm_global_attr *attr); WARNING: line length of 87 exceeds 80 columns #6105: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.h:35: +int hinic3_set_func_svc_used_state(struct hinic3_hwdev *hwdev, u16 svc_type, u8 state); WARNING: line length of 90 exceeds 80 columns #6106: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.h:36: +int hinic3_set_dma_attr_tbl(struct hinic3_hwdev *hwdev, u8 entry_idx, u8 st, u8 at, u8 ph, WARNING: line length of 85 exceeds 80 columns #6109: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.h:39: +int hinic3_set_wq_page_size(struct hinic3_hwdev *hwdev, u16 func_idx, u32 page_size); WARNING: line length of 84 exceeds 80 columns #6112: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.h:42: +int hinic3_set_bdf_ctxt(struct hinic3_hwdev *hwdev, u8 bus, u8 device, u8 function); WARNING: line length of 87 exceeds 80 columns #6118: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.h:48: +int hinic3_get_mgmt_version(struct hinic3_hwdev *hwdev, u8 *mgmt_ver, u8 version_size); WARNING: line length of 85 exceeds 80 columns #6190: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_intf.h:64: + /* Only used for interruption resource management, mark the request module */ WARNING: line length of 91 exceeds 80 columns #6813: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hwdev.c:365: + return hinic3_set_dma_attr_tbl(hwdev, PCIE_MSIX_ATTR_ENTRY, HINIC3_PCIE_ST_DISABLE, WARNING: line length of 86 exceeds 80 columns #6814: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hwdev.c:366: + HINIC3_PCIE_AT_DISABLE, HINIC3_PCIE_PH_DISABLE, WARNING: line length of 83 exceeds 80 columns #6815: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hwdev.c:367: + HINIC3_PCIE_SNOOP, HINIC3_PCIE_TPH_DISABLE); WARNING: line length of 86 exceeds 80 columns #6823: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hwdev.c:375: + err = hinic3_func_reset(hwdev, hinic3_global_func_id(hwdev), HINIC3_COMM_RES); WARNING: line length of 87 exceeds 80 columns #6911: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hwdev.c:463: + hwdev->wq_page_size = HINIC3_MIN_PAGE_SIZE * (1U << HINIC3_WQ_PAGE_SIZE_ORDER); WARNING: line length of 96 exceeds 80 columns #7080: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hwdev.c:632: + hwdev->workq = alloc_workqueue(HINIC3_HWDEV_WQ_NAME, WQ_MEM_RECLAIM, HINIC3_WQ_MAX_REQ); WARNING: line length of 87 exceeds 80 columns #7106: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hwdev.c:658: + err = hinic3_set_comm_features(hwdev, hwdev->features, COMM_MAX_FEATURE_QWORD); WARNING: line length of 82 exceeds 80 columns #7505: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hwif.c:192: + dev_err(hwdev->dev, "unexpected func_type %u\n", attr->func_type); WARNING: line length of 90 exceeds 80 columns #7512: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hwif.c:199: +static enum hinic3_doorbell_ctrl hinic3_get_doorbell_ctrl_status(struct hinic3_hwif *hwif) WARNING: line length of 90 exceeds 80 columns #7519: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hwif.c:206: +static enum hinic3_outbound_ctrl hinic3_get_outbound_ctrl_status(struct hinic3_hwif *hwif) WARNING: line length of 81 exceeds 80 columns #7655: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hwif.c:342: +void hinic3_free_db_addr(struct hinic3_hwdev *hwdev, const void __iomem *db_base, WARNING: line length of 87 exceeds 80 columns #7663: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hwif.c:350: + distance = (const char __iomem *)db_base - (const char __iomem *)hwif->db_base; WARNING: line length of 85 exceeds 80 columns #7826: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hwif.c:513: + dev_err(hwdev->dev, "Chip status is not ready, attr1:0x%x\n", attr1); WARNING: line length of 90 exceeds 80 columns #7852: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hwif.c:539: + hwif->attr.func_global_idx, hwif->attr.func_type, hwif->attr.pci_intf_idx, WARNING: line length of 81 exceeds 80 columns #7998: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hwif.h:103: +void hinic3_free_db_addr(struct hinic3_hwdev *hwdev, const void __iomem *db_base, WARNING: line length of 86 exceeds 80 columns #8093: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:67: + hinic3_misx_intr_clear_resend_bit(nic_dev->hwdev, irq_cfg->msix_entry_idx, 1); WARNING: line length of 83 exceeds 80 columns #8129: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:103: + err = request_irq(irq_cfg->irq_id, &qp_irq, 0, irq_cfg->irq_name, irq_cfg); WARNING: line length of 88 exceeds 80 columns #8176: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:150: + netdev_err(netdev, "Failed to modify moderation for Queue: %u\n", q_id); WARNING: line length of 91 exceeds 80 columns #8203: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:177: + (q_coal->rx_pending_limt_high - q_coal->rx_pending_limt_low) / WARNING: line length of 85 exceeds 80 columns #8218: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:192: + if (rx_rate > HINIC3_RX_RATE_THRESH && avg_pkt_size > HINIC3_AVG_PKT_SMALL) { WARNING: line length of 83 exceeds 80 columns #8219: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:193: + calc_coal_para(q_coal, rx_rate, &coalesc_timer_cfg, &pending_limt); WARNING: line length of 88 exceeds 80 columns #8314: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:288: + hinic3_set_msix_auto_mask_state(nic_dev->hwdev, irq_cfg->msix_entry_idx, WARNING: line length of 99 exceeds 80 columns #8316: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:290: + hinic3_set_msix_state(nic_dev->hwdev, irq_cfg->msix_entry_idx, HINIC3_MSIX_ENABLE); WARNING: line length of 82 exceeds 80 columns #8319: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:293: + INIT_DELAYED_WORK(&nic_dev->moderation_task, hinic3_auto_moderation_work); WARNING: line length of 100 exceeds 80 columns #8326: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:300: + hinic3_set_msix_state(nic_dev->hwdev, irq_cfg->msix_entry_idx, HINIC3_MSIX_DISABLE); WARNING: line length of 88 exceeds 80 columns #8327: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_irq.c:301: + hinic3_set_msix_auto_mask_state(nic_dev->hwdev, irq_cfg->msix_entry_idx, WARNING: line length of 84 exceeds 80 columns #8417: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:61: + struct hinic3_adev *hadev = container_of(dev, struct hinic3_adev, adev.dev); WARNING: line length of 81 exceeds 80 columns #8423: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:67: + enum hinic3_service_type svc_type) WARNING: line length of 84 exceeds 80 columns #8499: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:143: + pci_adapter->hadev[svc_type] = hinic3_add_one_adev(hwdev, svc_type); WARNING: line length of 83 exceeds 80 columns #8540: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:184: + void (*event_handler)(struct auxiliary_device *adev, WARNING: line length of 86 exceeds 80 columns #8541: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:185: + struct hinic3_event_info *event)) WARNING: line length of 84 exceeds 80 columns #8698: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:342: +static int hinic3_func_init(struct pci_dev *pdev, struct hinic3_pcidev *pci_adapter) WARNING: line length of 88 exceeds 80 columns #8751: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:395: + PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn)); WARNING: line length of 83 exceeds 80 columns #8880: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.h:15: + void (*event_handler)(struct auxiliary_device *adev, WARNING: line length of 87 exceeds 80 columns #8881: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.h:16: + struct hinic3_event_info *event)); WARNING: line length of 96 exceeds 80 columns #8945: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:55: +static int hinic3_netdev_event(struct notifier_block *notifier, unsigned long event, void *ptr); WARNING: line length of 95 exceeds 80 columns #8967: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:77: +static int hinic3_netdev_event(struct notifier_block *notifier, unsigned long event, void *ptr) WARNING: line length of 85 exceeds 80 columns #9008: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:118: + info->coalesce_timer_cfg = HINIC3_DEAULT_TXRX_MSIX_COALESC_TIMER_CFG; WARNING: line length of 82 exceeds 80 columns #9010: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:120: + info->resend_timer_cfg = HINIC3_DEAULT_TXRX_MSIX_RESEND_TIMER_CFG; WARNING: line length of 85 exceeds 80 columns #9096: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:206: +static void hinic3_fault_event_report(struct hinic3_hwdev *hwdev, u16 src, u16 level) WARNING: line length of 85 exceeds 80 columns #9098: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:208: + dev_info(hwdev->dev, "Fault event report, src: %u, level: %u\n", src, level); WARNING: line length of 86 exceeds 80 columns #9108: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:218: + hinic3_fault_event_report(nic_dev->hwdev, HINIC3_FAULT_SRC_TX_TIMEOUT, WARNING: line length of 87 exceeds 80 columns #9128: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:238: + nic_dev->dma_rx_buff_size = HINIC3_RX_BUFF_NUM_PER_PAGE * nic_dev->rx_buff_len; WARNING: line length of 81 exceeds 80 columns #9145: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:255: + INIT_DELAYED_WORK(&nic_dev->periodic_work, hinic3_periodic_work_handler); WARNING: line length of 81 exceeds 80 columns #9209: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:319: + hinic3_del_mac(hwdev, netdev->dev_addr, 0, hinic3_global_func_id(hwdev)); WARNING: line length of 85 exceeds 80 columns #9258: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:368: + if (hinic3_test_support(nic_dev, NIC_F_RX_VLAN_STRIP | NIC_F_TX_VLAN_INSERT)) WARNING: line length of 85 exceeds 80 columns #9333: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:443: +static void hinic3_link_status_change(struct net_device *netdev, bool link_status_up) WARNING: line length of 87 exceeds 80 columns #9360: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:470: + const char *g_hinic3_module_link_err[LINK_ERR_NUM] = { "Unrecognized module" }; WARNING: line length of 96 exceeds 80 columns #9373: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:483: + type == HINIC3_PORT_MODULE_CABLE_PLUGGED ? "plugged" : "unplugged"); WARNING: line length of 97 exceeds 80 columns #9377: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:487: + netdev_info(netdev, "Link failed, Unknown error type: 0x%x\n", err_type); WARNING: line length of 82 exceeds 80 columns #9380: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:490: + err_type, g_hinic3_module_link_err[err_type]); WARNING: line length of 85 exceeds 80 columns #9389: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:499: +static void nic_event(struct auxiliary_device *adev, struct hinic3_event_info *event) WARNING: line length of 89 exceeds 80 columns #9415: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:525: +static int nic_probe(struct auxiliary_device *adev, const struct auxiliary_device_id *id) WARNING: line length of 84 exceeds 80 columns #9694: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:107: + enum hinic3_msg_direction_type dir, WARNING: line length of 92 exceeds 80 columns #9762: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:175: + if (seq_id != msg_desc->seq_id + 1 || msg_id != msg_desc->msg_info.msg_id || WARNING: line length of 83 exceeds 80 columns #9815: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:228: +void hinic3_mbox_func_aeqe_handler(struct hinic3_hwdev *hwdev, u8 *header, u8 size) WARNING: line length of 85 exceeds 80 columns #9839: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:252: +static int init_mbox_dma_queue(struct hinic3_hwdev *hwdev, struct mbox_dma_queue *mq) WARNING: line length of 86 exceeds 80 columns #9848: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:261: + mq->dma_buff_vaddr = dma_alloc_coherent(hwdev->dev, size, &mq->dma_buff_paddr, WARNING: line length of 88 exceeds 80 columns #9856: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:269: +static void deinit_mbox_dma_queue(struct hinic3_hwdev *hwdev, struct mbox_dma_queue *mq) WARNING: line length of 86 exceeds 80 columns #9941: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:354: +static int hinic3_init_func_mbox_msg_channel(struct hinic3_hwdev *hwdev, u16 num_func) WARNING: line length of 86 exceeds 80 columns #10140: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:553: +static int mbox_prepare_dma_entry(struct hinic3_mbox *mbox, struct mbox_dma_queue *mq, WARNING: line length of 93 exceeds 80 columns #10141: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:554: + struct mbox_dma_msg *dma_msg, const void *msg, u32 msg_len) WARNING: line length of 88 exceeds 80 columns #10161: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:574: + dma_msg->xor = mbox_dma_msg_xor(dma_vaddr, ALIGN(msg_len, MBOX_XOR_DATA_ALIGN)); WARNING: line length of 92 exceeds 80 columns #10169: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:582: +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 #10170: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:583: + struct mbox_dma_msg *dma_msg, const void *msg, u32 msg_len) WARNING: line length of 84 exceeds 80 columns #10262: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:675: + hinic3_hwif_write_reg(hwif, HINIC3_FUNC_CSR_MAILBOX_CONTROL_OFF, mbox_ctrl); WARNING: line length of 83 exceeds 80 columns #10373: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:786: + err = mbox_prepare_dma_msg(mbox, ack_type, &dma_msg, msg, msg_len); WARNING: line length of 92 exceeds 80 columns #10481: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:894: + u16 dst_func, const void *buf_in, u32 in_size, void *buf_out, WARNING: line length of 87 exceeds 80 columns #10574: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.c:987: + u8 mod, u16 cmd, const void *buf_in, u32 in_size) WARNING: line length of 84 exceeds 80 columns #10791: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mbox.h:144: +void hinic3_mbox_func_aeqe_handler(struct hinic3_hwdev *hwdev, u8 *header, u8 size); WARNING: line length of 83 exceeds 80 columns #10841: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mgmt.c:30: +#define MGMT_BOGUS_SEQ_ID (MAX_PF_MGMT_BUF_SIZE / MGMT_SEG_LEN_MAX + 1) WARNING: line length of 81 exceeds 80 columns #10874: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mgmt.c:63: + mgmt_work = container_of(work, struct hinic3_mgmt_msg_handle_work, work); WARNING: line length of 82 exceeds 80 columns #10920: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mgmt.c:109: + } else if (seq_id != recv_msg->seq_id + 1 || msg_id != recv_msg->msg_id) { WARNING: line length of 82 exceeds 80 columns #11121: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mgmt.c:310: +void hinic3_mgmt_msg_aeqe_handler(struct hinic3_hwdev *hwdev, u8 *header, u8 size) WARNING: line length of 92 exceeds 80 columns #11151: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mgmt.c:340: +int hinic3_msg_to_mgmt_sync(struct hinic3_hwdev *hwdev, u8 mod, u16 cmd, const void *buf_in, WARNING: line length of 94 exceeds 80 columns #11162: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mgmt.c:351: +int hinic3_msg_to_mgmt_no_ack(struct hinic3_hwdev *hwdev, u8 mod, u16 cmd, const void *buf_in, WARNING: line length of 81 exceeds 80 columns #11168: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mgmt.c:357: + return hinic3_send_mbox_to_mgmt_no_ack(hwdev, mod, cmd, buf_in, in_size); WARNING: line length of 83 exceeds 80 columns #11244: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mgmt.h:69: +void hinic3_mgmt_msg_aeqe_handler(struct hinic3_hwdev *hwdev, u8 *header, u8 size); WARNING: line length of 92 exceeds 80 columns #11246: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mgmt.h:71: +int hinic3_msg_to_mgmt_sync(struct hinic3_hwdev *hwdev, u8 mod, u16 cmd, const void *buf_in, WARNING: line length of 94 exceeds 80 columns #11250: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_mgmt.h:75: +int hinic3_msg_to_mgmt_no_ack(struct hinic3_hwdev *hwdev, u8 mod, u16 cmd, const void *buf_in, WARNING: line length of 82 exceeds 80 columns #11679: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:25: +#define VID_LINE(nic_dev, vid) ((vid) / VLAN_BITMAP_BITS_SIZE(nic_dev)) WARNING: line length of 88 exceeds 80 columns #11680: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:26: +#define VID_COL(nic_dev, vid) ((vid) & (VLAN_BITMAP_BITS_SIZE(nic_dev) - 1)) WARNING: line length of 82 exceeds 80 columns #11786: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:132: + struct hinic3_dyna_txrxq_params *q_params) WARNING: line length of 82 exceeds 80 columns #11846: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:192: + struct hinic3_dyna_txrxq_params *q_params) WARNING: line length of 82 exceeds 80 columns #11919: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:265: + struct hinic3_dyna_qp_params *qp_params, WARNING: line length of 87 exceeds 80 columns #11920: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:266: + struct hinic3_dyna_txrxq_params *trxq_params) WARNING: line length of 82 exceeds 80 columns #11946: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:292: + struct hinic3_dyna_qp_params *qp_params, WARNING: line length of 87 exceeds 80 columns #11947: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:293: + struct hinic3_dyna_txrxq_params *trxq_params) WARNING: line length of 85 exceeds 80 columns #12100: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:446: + void (*reopen_handler)(struct net_device *netdev)) WARNING: line length of 83 exceeds 80 columns #12313: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:659: + dev_err(hwdev->dev, "%s rxvlan failed\n", SET_FEATURES_OP_STR(en)); WARNING: line length of 91 exceeds 80 columns #12336: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:682: + dev_err(hwdev->dev, "%s rx vlan filter failed\n", SET_FEATURES_OP_STR(en)); WARNING: line length of 81 exceeds 80 columns #12398: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:744: + netdev_err(netdev, "Failed to change port mtu to %d\n", new_mtu); WARNING: line length of 87 exceeds 80 columns #12400: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:746: + netdev_dbg(netdev, "Change mtu from %u to %d\n", netdev->mtu, new_mtu); WARNING: line length of 92 exceeds 80 columns #12641: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:30: +static int nic_feature_nego(struct hinic3_hwdev *hwdev, u8 opcode, u64 *s_feature, u16 size) WARNING: line length of 81 exceeds 80 columns #12743: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:132: +int hinic3_set_rx_lro_state(struct hinic3_hwdev *hwdev, u8 lro_en, u32 lro_timer, WARNING: line length of 90 exceeds 80 columns #12752: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:141: + dev_dbg(hwdev->dev, "Set LRO max coalesce packet size to %uK\n", lro_max_pkt_len); WARNING: line length of 88 exceeds 80 columns #12847: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:236: + cfg_bitmap = BIT(FUNC_CFG_INIT) | BIT(FUNC_CFG_MTU) | BIT(FUNC_CFG_RX_BUF_SIZE); WARNING: line length of 84 exceeds 80 columns #12848: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:237: + return hinic3_set_function_table(nic_dev->hwdev, cfg_bitmap, &func_tbl_cfg); WARNING: line length of 84 exceeds 80 columns #12878: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:267: +static int hinic3_check_mac_info(struct hinic3_hwdev *hwdev, u8 status, u16 vlan_id) WARNING: line length of 92 exceeds 80 columns #12918: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:307: +int hinic3_set_mac(struct hinic3_hwdev *hwdev, const u8 *mac_addr, u16 vlan_id, u16 func_id) WARNING: line length of 92 exceeds 80 columns #12960: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:349: +int hinic3_del_mac(struct hinic3_hwdev *hwdev, const u8 *mac_addr, u16 vlan_id, u16 func_id) WARNING: line length of 92 exceeds 80 columns #12981: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:370: + (mac_info.msg_head.status && !PF_SET_VF_MAC(hwdev, mac_info.msg_head.status))) { WARNING: line length of 81 exceeds 80 columns #12996: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:385: +int hinic3_update_mac(struct hinic3_hwdev *hwdev, const u8 *old_mac, u8 *new_mac, WARNING: line length of 91 exceeds 80 columns #13187: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:576: + &dcb_state, sizeof(dcb_state), &dcb_state, &out_size); WARNING: line length of 99 exceeds 80 columns #13212: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:601: + err = hinic3_msg_to_mgmt_sync(hwdev, HINIC3_MOD_HILINK, MAG_CMD_SET_PORT_ENABLE, &en_state, WARNING: line length of 81 exceeds 80 columns #13213: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:602: + sizeof(en_state), &en_state, &out_size, 0); WARNING: line length of 99 exceeds 80 columns #13232: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:621: + err = hinic3_msg_to_mgmt_sync(hwdev, HINIC3_MOD_HILINK, MAG_CMD_GET_LINK_STATUS, &get_link, WARNING: line length of 81 exceeds 80 columns #13233: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:622: + sizeof(get_link), &get_link, &out_size, 0); WARNING: line length of 91 exceeds 80 columns #13245: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:634: +int hinic3_get_phy_port_stats(struct hinic3_hwdev *hwdev, struct mag_cmd_port_stats *stats) WARNING: line length of 86 exceeds 80 columns #13259: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:648: + err = hinic3_msg_to_mgmt_sync(hwdev, HINIC3_MOD_HILINK, MAG_CMD_GET_PORT_STAT, WARNING: line length of 85 exceeds 80 columns #13278: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:667: +int hinic3_get_port_info(struct hinic3_hwdev *hwdev, struct nic_port_info *port_info) WARNING: line length of 97 exceeds 80 columns #13287: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:676: + err = hinic3_msg_to_mgmt_sync(hwdev, HINIC3_MOD_HILINK, MAG_CMD_GET_PORT_INFO, &port_msg, WARNING: line length of 81 exceeds 80 columns #13288: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:677: + sizeof(port_msg), &port_msg, &out_size, 0); WARNING: line length of 81 exceeds 80 columns #13308: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:697: +int hinic3_set_vport_enable(struct hinic3_hwdev *hwdev, u16 func_id, bool enable) WARNING: line length of 87 exceeds 80 columns #13585: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.h:160: +#define CABLE_25GE_BASE_R_BIT (LINK_MODE_25GE_BASE_R_BIT | LINK_MODE_10GE_BASE_R_BIT) WARNING: line length of 91 exceeds 80 columns #13588: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.h:163: + (LINK_MODE_50GE_BASE_R_BIT | LINK_MODE_25GE_BASE_R_BIT | LINK_MODE_10GE_BASE_R_BIT) WARNING: line length of 90 exceeds 80 columns #13590: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.h:165: +#define CABLE_100GE_BASE_R2_BIT (LINK_MODE_100GE_BASE_R2_BIT | LINK_MODE_50GE_BASE_R2_BIT) WARNING: line length of 90 exceeds 80 columns #13591: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.h:166: +#define CABLE_100GE_BASE_R4_BIT (LINK_MODE_100GE_BASE_R4_BIT | LINK_MODE_40GE_BASE_R4_BIT) WARNING: line length of 96 exceeds 80 columns #13593: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.h:168: + (LINK_MODE_200GE_BASE_R4_BIT | LINK_MODE_100GE_BASE_R4_BIT | LINK_MODE_40GE_BASE_R4_BIT) WARNING: line length of 93 exceeds 80 columns #13870: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.h:445: +int hinic3_set_mac(struct hinic3_hwdev *hwdev, const u8 *mac_addr, u16 vlan_id, u16 func_id); WARNING: line length of 93 exceeds 80 columns #13871: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.h:446: +int hinic3_del_mac(struct hinic3_hwdev *hwdev, const u8 *mac_addr, u16 vlan_id, u16 func_id); WARNING: line length of 94 exceeds 80 columns #13872: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.h:447: +int hinic3_update_mac(struct hinic3_hwdev *hwdev, const u8 *old_mac, u8 *new_mac, u16 vlan_id, WARNING: line length of 81 exceeds 80 columns #13875: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.h:450: +int hinic3_set_ci_table(struct hinic3_hwdev *hwdev, struct hinic3_sq_attr *attr); WARNING: line length of 86 exceeds 80 columns #13883: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.h:458: +int hinic3_get_port_info(struct hinic3_hwdev *hwdev, struct nic_port_info *port_info); WARNING: line length of 82 exceeds 80 columns #13884: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.h:459: +int hinic3_set_vport_enable(struct hinic3_hwdev *hwdev, u16 func_id, bool enable); CHECK: Macro argument 'field' may be better as '(field)' to avoid precedence issues #13947: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:45: +#define HINIC3_NIC_STATS_INC(nic_dev, field) \ +do { \ + u64_stats_update_begin(&(nic_dev)->stats.syncp); \ + (nic_dev)->stats.field++; \ + u64_stats_update_end(&(nic_dev)->stats.syncp); \ +} while (0) WARNING: line length of 86 exceeds 80 columns #14105: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_dev.h:203: + void (*reopen_handler)(struct net_device *netdev)); WARNING: line length of 82 exceeds 80 columns #14430: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.c:309: + CI_TABLE_SIZE(nic_io->max_qps), WARNING: line length of 85 exceeds 80 columns #14431: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.c:310: + &nic_io->ci_dma_base, GFP_KERNEL); WARNING: line length of 83 exceeds 80 columns #14454: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.c:333: +static int hinic3_create_sq(struct hinic3_hwdev *hwdev, struct hinic3_io_queue *sq, WARNING: line length of 83 exceeds 80 columns #14476: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.c:355: +static int hinic3_create_rq(struct hinic3_hwdev *hwdev, struct hinic3_io_queue *rq, WARNING: line length of 87 exceeds 80 columns #14485: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.c:364: + (u16)BIT(HINIC3_RQ_WQEBB_SHIFT + HINIC3_NORMAL_RQ_WQE)); WARNING: line length of 89 exceeds 80 columns #14557: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.c:436: + err = create_qp(hwdev, &sqs[q_id], &rqs[q_id], q_id, qp_params->sq_depth, WARNING: line length of 89 exceeds 80 columns #14558: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.c:437: + qp_params->rq_depth, qps_msix_arry[q_id].msix_entry_idx); WARNING: line length of 94 exceeds 80 columns #14560: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.c:439: + dev_err(hwdev->dev, "Failed to allocate qp %u, err: %d\n", q_id, err); WARNING: line length of 81 exceeds 80 columns #14629: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.c:508: +static void hinic3_qp_prepare_cmdq_header(struct hinic3_qp_ctxt_hdr *qp_ctxt_hdr, WARNING: line length of 88 exceeds 80 columns #14714: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.c:593: + u32 *wq_page_pfn_hi, u32 *wq_page_pfn_lo, WARNING: line length of 90 exceeds 80 columns #14715: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.c:594: + u32 *wq_block_pfn_hi, u32 *wq_block_pfn_lo) WARNING: line length of 94 exceeds 80 columns #14730: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.c:609: +static void hinic3_rq_prepare_ctxt(struct hinic3_io_queue *rq, struct hinic3_rq_ctxt *rq_ctxt) WARNING: line length of 91 exceeds 80 columns #14736: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.c:615: + ci_start = (u16)((u32)(rq->wq.cons_idx & rq->wq.idx_mask) << HINIC3_NORMAL_RQ_WQE); WARNING: line length of 91 exceeds 80 columns #14737: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.c:616: + pi_start = (u16)((u32)(rq->wq.prod_idx & rq->wq.idx_mask) << HINIC3_NORMAL_RQ_WQE); WARNING: line length of 84 exceeds 80 columns #15238: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_queue_common.c:36: +void queue_pages_free(struct hinic3_hwdev *hwdev, struct hinic3_queue_pages *qpages) WARNING: line length of 95 exceeds 80 columns #15243: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_queue_common.c:41: +int queue_pages_alloc(struct hinic3_hwdev *hwdev, struct hinic3_queue_pages *qpages, u32 align) WARNING: line length of 89 exceeds 80 columns #15248: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_queue_common.c:46: + qpages->pages = kcalloc(qpages->num_pages, sizeof(qpages->pages[0]), GFP_KERNEL); WARNING: line length of 96 exceeds 80 columns #15299: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_queue_common.h:25: +int queue_pages_alloc(struct hinic3_hwdev *hwdev, struct hinic3_queue_pages *qpages, u32 align); WARNING: line length of 85 exceeds 80 columns #15300: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_queue_common.h:26: +void queue_pages_free(struct hinic3_hwdev *hwdev, struct hinic3_queue_pages *qpages); WARNING: line length of 83 exceeds 80 columns #15463: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rss.c:132: + nic_dev->rss_indir = kzalloc(sizeof(u32) * NIC_RSS_INDIR_SIZE, GFP_KERNEL); WARNING: line length of 85 exceeds 80 columns #15531: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rss.c:200: + err = l2nic_msg_to_mgmt_sync(hwdev, HINIC3_NIC_CMD_SET_RSS_CTX_TBL_INTO_FUNC, WARNING: line length of 89 exceeds 80 columns #15823: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rss.c:492: +static int hinic3_set_rss_hash_opts(struct net_device *netdev, struct ethtool_rxnfc *cmd) WARNING: line length of 89 exceeds 80 columns #15899: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rss.c:568: +static int hinic3_get_rss_hash_opts(struct net_device *netdev, struct ethtool_rxnfc *cmd) WARNING: line length of 85 exceeds 80 columns #15992: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rss.c:661: + const struct ethtool_channels *channels) WARNING: line length of 88 exceeds 80 columns #16048: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rss.c:717: + change_num_channel_reopen_handler); WARNING: line length of 84 exceeds 80 columns #16081: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rss.c:750: + memcpy(nic_dev->rss_indir, indir, sizeof(u32) * NIC_RSS_INDIR_SIZE); WARNING: line length of 81 exceeds 80 columns #16102: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rss.c:771: +static int hinic3_rss_get_indir_tbl(struct hinic3_hwdev *hwdev, u32 *indir_table) CHECK: Macro argument 'field' may be better as '(field)' to avoid precedence issues #16282: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:33: +#define RXQ_STATS_INC(rxq, field) \ +do { \ + u64_stats_update_begin(&(rxq)->rxq_stats.syncp); \ + (rxq)->rxq_stats.field++; \ + u64_stats_update_end(&(rxq)->rxq_stats.syncp); \ +} while (0) WARNING: line length of 90 exceeds 80 columns #16358: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:109: +static int rx_alloc_mapped_page(struct net_device *netdev, struct hinic3_rx_info *rx_info) WARNING: line length of 82 exceeds 80 columns #16404: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:155: + cqe_dma = rxq->cqe_start_paddr + i * sizeof(struct hinic3_rq_cqe); WARNING: line length of 85 exceeds 80 columns #16442: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:193: + rxq->next_to_update = (u16)((rxq->next_to_update + 1) & rxq->q_mask); WARNING: line length of 96 exceeds 80 columns #16573: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:324: + dma_unmap_page(rxq->dev, rx_info->buf_dma_addr, rxq->dma_rx_buff_size, DMA_FROM_DEVICE); WARNING: line length of 94 exceeds 80 columns #16733: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:484: + skb_shinfo(skb)->gso_size = (u16)DIV_ROUND_UP((skb->len - skb_headlen(skb)), num_lro); WARNING: line length of 95 exceeds 80 columns #16734: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:485: + skb_shinfo(skb)->gso_type = (proto == htons(ETH_P_IP)) ? SKB_GSO_TCPV4 : SKB_GSO_TCPV6; WARNING: line length of 94 exceeds 80 columns #16805: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:556: + rqres->cqe_start_vaddr = dma_alloc_coherent(&nic_dev->pdev->dev, cqe_mem_size, WARNING: line length of 84 exceeds 80 columns #16806: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:557: + &rqres->cqe_start_paddr, WARNING: line length of 84 exceeds 80 columns #16813: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:564: + pkt_idx = hinic3_rx_alloc_buffers(netdev, rq_depth, rqres->rx_info); WARNING: line length of 86 exceeds 80 columns #16819: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:570: + netdev_err(netdev, "Failed to alloc rxq%d rx buffers\n", idx); CHECK: Macro argument 'field' may be better as '(field)' to avoid precedence issues #17185: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:15: +#define TXQ_STATS_INC(txq, field) \ +do { \ + u64_stats_update_begin(&(txq)->txq_stats.syncp); \ + (txq)->txq_stats.field++; \ + u64_stats_update_end(&(txq)->txq_stats.syncp); \ +} while (0) WARNING: line length of 97 exceeds 80 columns #17280: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:110: + dma_info[0].dma = dma_map_single(&pdev->dev, skb->data, skb_headlen(skb), DMA_TO_DEVICE); WARNING: line length of 98 exceeds 80 columns #17442: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:272: + ((struct udphdr *)skb_transport_header(skb))->dest != VXLAN_OFFLOAD_PORT_LE) { WARNING: line length of 85 exceeds 80 columns #17611: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:441: + hdr_len = (skb_shinfo(skb)->gso_segs - 1) * skb_tcp_all_headers(skb); WARNING: line length of 81 exceeds 80 columns #17671: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:501: + wqe_combo->task = hinic3_wq_get_one_wqebb(&txq->sq->wq, &tmp_pi); WARNING: line length of 81 exceeds 80 columns #17767: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:597: + if (unlikely(num_sge == 1 && skb->len > COMPACET_WQ_SKB_MAX_LEN)) WARNING: line length of 82 exceeds 80 columns #18292: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:47: + wq->wq_block_vaddr[i] = cpu_to_be64(qpages->pages[i].align_paddr); WARNING: line length of 83 exceeds 80 columns #18325: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:80: +int hinic3_wq_create(struct hinic3_hwdev *hwdev, struct hinic3_wq *wq, u32 q_depth, WARNING: line length of 83 exceeds 80 columns #18370: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:125: + struct hinic3_sq_bufdesc **second_part_wqebbs_addr, WARNING: line length of 81 exceeds 80 columns #18385: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:140: + *second_part_wqebbs_addr = get_q_element(&wq->qpages, idx, NULL); WARNING: line length of 83 exceeds 80 columns #18479: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_wq.h:86: +int hinic3_wq_create(struct hinic3_hwdev *hwdev, struct hinic3_wq *wq, u32 q_depth, WARNING: line length of 83 exceeds 80 columns #18486: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_wq.h:93: + struct hinic3_sq_bufdesc **second_part_wqebbs_addr, total: 0 errors, 298 warnings, 3 checks, 18072 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 af5d58cb43af ("net: hinic3: Add a driver for Huawei 3rd gen NIC") 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, 298 warnings, 3 checks, 18072 lines checked