WARNING: Co-developed-by: must be immediately followed by Signed-off-by: #10: Co-developed-by: Honggang Wei Co-developed-by: Lei Yan WARNING: Co-developed-by and Signed-off-by: name/email do not match #11: Co-developed-by: Lei Yan Signed-off-by: Xin Tian WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #42: new file mode 100644 WARNING: line length of 83 exceeds 80 columns #199: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:66: +static void xsc_build_rss_param(struct xsc_rss_params *rss_param, u16 num_channels) WARNING: line length of 89 exceeds 80 columns #217: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:84: +static void xsc_eth_build_nic_params(struct xsc_adapter *adapter, u32 ch_num, u32 tc_num) WARNING: line length of 82 exceeds 80 columns #231: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:98: + xsc_build_rss_param(&adapter->rss_param, adapter->nic_param.num_channels); WARNING: line length of 83 exceeds 80 columns #246: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:113: + sizeof(*adapter->txq2sq), GFP_KERNEL, node); WARNING: line length of 83 exceeds 80 columns #269: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:136: +static int xsc_eth_set_hw_mtu(struct xsc_core_device *xdev, u16 mtu, u16 rx_buf_sz) WARNING: line length of 87 exceeds 80 columns #312: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:179: + netdev->vlan_features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM;//NETIF_F_HW_CSUM; WARNING: line length of 95 exceeds 80 columns #388: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:255: + xsc_core_warn(adapter->xdev, "get mac failed %d, generate random mac...", ret); WARNING: line length of 84 exceeds 80 columns #442: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:309: +static int xsc_eth_attach(struct xsc_core_device *xdev, struct xsc_adapter *adapter) WARNING: line length of 85 exceeds 80 columns #457: FILE: drivers/net/ethernet/yunsilicon/xsc/net/main.c:324: +static void xsc_eth_detach(struct xsc_core_device *xdev, struct xsc_adapter *adapter) WARNING: line length of 85 exceeds 80 columns #572: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_eth_common.h:21: +#define XSC_SW2HW_RX_PKT_LEN(mtu) ((mtu) + ETH_HLEN + XSC_ETH_RX_MAX_HEAD_ROOM) WARNING: line length of 82 exceeds 80 columns #737: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_pph.h:120: + ((*(u16 *)((u8 *)(PPH_BASE_ADDR) + EPP2SOC_PPH_EXT_TUNNEL_TYPE_OFFSET) & \ WARNING: line length of 88 exceeds 80 columns #738: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_pph.h:121: + EPP2SOC_PPH_EXT_TUNNEL_TYPE_BIT_MASK) >> EPP2SOC_PPH_EXT_TUNNEL_TYPE_BIT_OFFSET) WARNING: line length of 82 exceeds 80 columns #741: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_pph.h:124: + ((*(u8 *)((u8 *)(PPH_BASE_ADDR) + EPP2SOC_PPH_EXT_ERROR_BITMAP_OFFSET) & \ WARNING: line length of 90 exceeds 80 columns #742: FILE: drivers/net/ethernet/yunsilicon/xsc/net/xsc_pph.h:125: + EPP2SOC_PPH_EXT_ERROR_BITMAP_BIT_MASK) >> EPP2SOC_PPH_EXT_ERROR_BITMAP_BIT_OFFSET) total: 0 errors, 17 warnings, 0 checks, 802 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 09b58930e8df ("net-next/yunsilicon: Init net device") 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, 17 warnings, 0 checks, 802 lines checked