WARNING: Non-standard signature: Submitted-by: #20: Submitted-by: Gur Stavi WARNING: line length of 89 exceeds 80 columns #543: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_comm.c:11: +static int comm_msg_to_mgmt_sync(struct hinic3_hwdev *hwdev, u16 cmd, const void *buf_in, WARNING: line length of 85 exceeds 80 columns #615: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_intf.h:21: + /* Only used for interruption resource management, mark the request module */ WARNING: line length of 84 exceeds 80 columns #920: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:40: + struct hinic3_adev *hadev = container_of(dev, struct hinic3_adev, adev.dev); WARNING: line length of 81 exceeds 80 columns #926: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:46: + enum hinic3_service_type svc_type) WARNING: line length of 84 exceeds 80 columns #1002: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:122: + pci_adapter->hadev[svc_type] = hinic3_add_one_adev(hwdev, svc_type); WARNING: line length of 83 exceeds 80 columns #1043: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:163: + void (*event_handler)(struct auxiliary_device *adev, WARNING: line length of 86 exceeds 80 columns #1044: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:164: + struct hinic3_event_info *event)) WARNING: line length of 84 exceeds 80 columns #1164: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:284: +static int hinic3_func_init(struct pci_dev *pdev, struct hinic3_pcidev *pci_adapter) WARNING: line length of 83 exceeds 80 columns #1317: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.h:16: + void (*event_handler)(struct auxiliary_device *adev, WARNING: line length of 87 exceeds 80 columns #1318: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.h:17: + struct hinic3_event_info *event)); WARNING: line length of 85 exceeds 80 columns #1369: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:42: + info->coalesce_timer_cfg = HINIC3_DEAULT_TXRX_MSIX_COALESC_TIMER_CFG; WARNING: line length of 82 exceeds 80 columns #1370: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:43: + info->resend_timer_cfg = HINIC3_DEAULT_TXRX_MSIX_RESEND_TIMER_CFG; WARNING: line length of 87 exceeds 80 columns #1455: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:128: + 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 #1492: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:165: + hinic3_del_mac(hwdev, netdev->dev_addr, 0, hinic3_global_func_id(hwdev)); WARNING: line length of 85 exceeds 80 columns #1548: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:221: +static void hinic3_link_status_change(struct net_device *netdev, bool link_status_up) WARNING: line length of 85 exceeds 80 columns #1572: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:245: +static void nic_event(struct auxiliary_device *adev, struct hinic3_event_info *event) WARNING: line length of 89 exceeds 80 columns #1591: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:264: +static int nic_probe(struct auxiliary_device *adev, const struct auxiliary_device_id *id) WARNING: line length of 81 exceeds 80 columns #1964: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:33: + netdev_err(netdev, "Failed to change port mtu to %d\n", new_mtu); WARNING: line length of 87 exceeds 80 columns #1966: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:35: + netdev_dbg(netdev, "Change mtu from %u to %d\n", netdev->mtu, new_mtu); WARNING: line length of 92 exceeds 80 columns #2035: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:21: +static int nic_feature_nego(struct hinic3_hwdev *hwdev, u8 opcode, u64 *s_feature, u16 size) WARNING: line length of 84 exceeds 80 columns #2130: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:116: +static int hinic3_check_mac_info(struct hinic3_hwdev *hwdev, u8 status, u16 vlan_id) WARNING: line length of 92 exceeds 80 columns #2143: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:129: +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 #2185: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:171: +int hinic3_del_mac(struct hinic3_hwdev *hwdev, const u8 *mac_addr, u16 vlan_id, u16 func_id) WARNING: line length of 81 exceeds 80 columns #2215: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:201: +int hinic3_update_mac(struct hinic3_hwdev *hwdev, const u8 *old_mac, u8 *new_mac, WARNING: line length of 93 exceeds 80 columns #2312: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.h:38: +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 #2313: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.h:39: +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 #2314: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.h:40: +int hinic3_update_mac(struct hinic3_hwdev *hwdev, const u8 *old_mac, u8 *new_mac, u16 vlan_id, WARNING: line length of 84 exceeds 80 columns #2617: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_queue_common.c:35: +void queue_pages_free(struct hinic3_hwdev *hwdev, struct hinic3_queue_pages *qpages) WARNING: line length of 95 exceeds 80 columns #2622: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_queue_common.c:40: +int queue_pages_alloc(struct hinic3_hwdev *hwdev, struct hinic3_queue_pages *qpages, u32 align) WARNING: line length of 89 exceeds 80 columns #2627: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_queue_common.c:45: + qpages->pages = kcalloc(qpages->num_pages, sizeof(qpages->pages[0]), GFP_KERNEL); WARNING: line length of 96 exceeds 80 columns #2678: 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 #2679: 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 90 exceeds 80 columns #2795: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:37: +static int rx_alloc_mapped_page(struct net_device *netdev, struct hinic3_rx_info *rx_info) WARNING: line length of 85 exceeds 80 columns #2854: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:96: + rxq->next_to_update = (u16)((rxq->next_to_update + 1) & rxq->q_mask); WARNING: line length of 96 exceeds 80 columns #2941: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:183: + 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 #3075: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:317: + skb_shinfo(skb)->gso_size = (u16)DIV_ROUND_UP((skb->len - skb_headlen(skb)), num_lro); WARNING: line length of 95 exceeds 80 columns #3076: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:318: + skb_shinfo(skb)->gso_type = (proto == htons(ETH_P_IP)) ? SKB_GSO_TCPV4 : SKB_GSO_TCPV6; WARNING: line length of 97 exceeds 80 columns #3349: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:77: + 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 #3501: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:229: + ((struct udphdr *)skb_transport_header(skb))->dest != VXLAN_OFFLOAD_PORT_LE) { WARNING: line length of 85 exceeds 80 columns #3676: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:404: + hdr_len = (skb_shinfo(skb)->gso_segs - 1) * skb_tcp_all_headers(skb); WARNING: line length of 81 exceeds 80 columns #3731: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:459: + wqe_combo->task = hinic3_wq_get_one_wqebb(&txq->sq->wq, &tmp_pi); WARNING: line length of 81 exceeds 80 columns #3822: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:550: + if (unlikely(num_sge == 1 && skb->len > COMPACET_WQ_SKB_MAX_LEN)) WARNING: line length of 83 exceeds 80 columns #4149: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:12: + struct hinic3_sq_bufdesc **second_part_wqebbs_addr, WARNING: line length of 81 exceeds 80 columns #4164: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_wq.c:27: + *second_part_wqebbs_addr = get_q_element(&wq->qpages, idx, NULL); WARNING: line length of 83 exceeds 80 columns #4244: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_wq.h:72: + struct hinic3_sq_bufdesc **second_part_wqebbs_addr, total: 0 errors, 46 warnings, 0 checks, 3905 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 c27db4c1c5f7 ("net: hinic3: module initialization and tx/rx logic") 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, 46 warnings, 0 checks, 3905 lines checked