WARNING: line length of 81 exceeds 80 columns #461: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_cfg.c:13: + return hwdev->cfg_mgmt->cap.supp_svcs_bitmap & BIT(HINIC3_SERVICE_T_NIC); WARNING: line length of 83 exceeds 80 columns #638: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_hw_intf.h:44: +static inline void mgmt_msg_params_init_default(struct mgmt_msg_params *msg_params, WARNING: line length of 84 exceeds 80 columns #1022: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:42: + struct hinic3_adev *hadev = container_of(dev, struct hinic3_adev, adev.dev); WARNING: line length of 81 exceeds 80 columns #1028: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:48: + enum hinic3_service_type svc_type) WARNING: line length of 84 exceeds 80 columns #1097: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:117: + pci_adapter->hadev[svc_type] = hinic3_add_one_adev(hwdev, svc_type); WARNING: line length of 84 exceeds 80 columns #1138: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:158: + void (*event_handler)(struct auxiliary_device *adev, WARNING: line length of 87 exceeds 80 columns #1139: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:159: + struct hinic3_event_info *event)) WARNING: line length of 84 exceeds 80 columns #1266: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.c:286: +static int hinic3_func_init(struct pci_dev *pdev, struct hinic3_pcidev *pci_adapter) WARNING: line length of 84 exceeds 80 columns #1418: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.h:16: + void (*event_handler)(struct auxiliary_device *adev, WARNING: line length of 88 exceeds 80 columns #1419: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_lld.h:17: + struct hinic3_event_info *event)); WARNING: line length of 87 exceeds 80 columns #1502: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:73: + 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 #1543: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:114: + hinic3_del_mac(hwdev, netdev->dev_addr, 0, hinic3_global_func_id(hwdev)); WARNING: line length of 85 exceeds 80 columns #1595: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:166: +static void hinic3_link_status_change(struct net_device *netdev, bool link_status_up) WARNING: line length of 83 exceeds 80 columns #1628: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:199: + case HINIC3_SRV_EVENT_TYPE(HINIC3_EVENT_SRV_NIC, HINIC3_NIC_EVENT_LINK_UP): WARNING: line length of 85 exceeds 80 columns #1631: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_main.c:202: + case HINIC3_SRV_EVENT_TYPE(HINIC3_EVENT_SRV_NIC, HINIC3_NIC_EVENT_LINK_DOWN): WARNING: line length of 81 exceeds 80 columns #1998: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c:32: + netdev_err(netdev, "Failed to change port mtu to %d\n", new_mtu); WARNING: line length of 84 exceeds 80 columns #2145: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:96: +static int hinic3_check_mac_info(struct hinic3_hwdev *hwdev, u8 status, u16 vlan_id) WARNING: line length of 92 exceeds 80 columns #2155: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:106: +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 #2196: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:147: +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 #2226: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.c:177: +int hinic3_update_mac(struct hinic3_hwdev *hwdev, const u8 *old_mac, u8 *new_mac, WARNING: line length of 93 exceeds 80 columns #2317: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.h:32: +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 #2318: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.h:33: +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 #2319: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_cfg.h:34: +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 #2541: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_nic_io.h:87: + db.db_info = DB_INFO_SET(DB_SRC_TYPE, TYPE) | DB_INFO_SET(cflag, CFLAG) | WARNING: line length of 89 exceeds 80 columns #2625: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_queue_common.c:47: + qpages->pages = kcalloc(qpages->num_pages, sizeof(qpages->pages[0]), GFP_KERNEL); WARNING: line length of 90 exceeds 80 columns #2757: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:46: +static int rx_alloc_mapped_page(struct net_device *netdev, struct hinic3_rx_info *rx_info) WARNING: line length of 96 exceeds 80 columns #2903: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:192: + dma_unmap_page(rxq->dev, rx_info->buf_dma_addr, rxq->dma_rx_buff_size, DMA_FROM_DEVICE); WARNING: line length of 87 exceeds 80 columns #3035: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:324: + skb_shinfo(skb)->gso_size = DIV_ROUND_UP(skb->len - skb_headlen(skb), num_lro); WARNING: line length of 93 exceeds 80 columns #3036: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_rx.c:325: + skb_shinfo(skb)->gso_type = proto == htons(ETH_P_IP) ? SKB_GSO_TCPV4 : SKB_GSO_TCPV6; WARNING: line length of 97 exceeds 80 columns #3296: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:78: + 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 #3439: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:221: + ((struct udphdr *)skb_transport_header(skb))->dest != VXLAN_OFFLOAD_PORT_LE) { WARNING: line length of 81 exceeds 80 columns #3654: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_tx.c:436: + wqe_combo->task = hinic3_wq_get_one_wqebb(&txq->sq->wq, &tmp_pi); WARNING: line length of 83 exceeds 80 columns #4057: 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 #4072: 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 #4153: FILE: drivers/net/ethernet/huawei/hinic3/hinic3_wq.h:73: + struct hinic3_sq_bufdesc **second_part_wqebbs_addr, total: 0 errors, 35 warnings, 0 checks, 3815 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 9eb6c2d136c8 ("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, 35 warnings, 0 checks, 3815 lines checked