WARNING: line length of 92 exceeds 80 columns #132: FILE: drivers/net/ethernet/realtek/r8169_main.c:1148: + if (tp->sfp_mode == RTL_SFP_8127_ATF && reg == (OCP_STD_PHY_BASE + 2 * MII_PHYSID2)) WARNING: line length of 98 exceeds 80 columns #391: FILE: drivers/net/ethernet/realtek/r8169_main.c:5627: + struct rtl8169_private *tp = container_of(config, struct rtl8169_private, phylink_config); WARNING: line length of 85 exceeds 80 columns #396: FILE: drivers/net/ethernet/realtek/r8169_main.c:5632: +static void rtl_mac_link_up(struct phylink_config *config, struct phy_device *phydev, WARNING: line length of 98 exceeds 80 columns #400: FILE: drivers/net/ethernet/realtek/r8169_main.c:5636: + struct rtl8169_private *tp = container_of(config, struct rtl8169_private, phylink_config); WARNING: line length of 98 exceeds 80 columns #415: FILE: drivers/net/ethernet/realtek/r8169_main.c:5651: + struct rtl8169_private *tp = container_of(config, struct rtl8169_private, phylink_config); WARNING: line length of 95 exceeds 80 columns #417: FILE: drivers/net/ethernet/realtek/r8169_main.c:5653: + if (interface == PHY_INTERFACE_MODE_1000BASEX || interface == PHY_INTERFACE_MODE_SGMII) WARNING: line length of 84 exceeds 80 columns #438: FILE: drivers/net/ethernet/realtek/r8169_main.c:5674: + struct rtl8169_private *tp = container_of(pcs, struct rtl8169_private, pcs); WARNING: line length of 82 exceeds 80 columns #459: FILE: drivers/net/ethernet/realtek/r8169_main.c:5695: +static int rtl8169_pcs_validate(struct phylink_pcs *pcs, unsigned long *supported, WARNING: line length of 97 exceeds 80 columns #501: FILE: drivers/net/ethernet/realtek/r8169_main.c:5737: + __set_bit(PHY_INTERFACE_MODE_1000BASEX, tp->phylink_config.supported_interfaces); WARNING: line length of 96 exceeds 80 columns #506: FILE: drivers/net/ethernet/realtek/r8169_main.c:5742: + __set_bit(PHY_INTERFACE_MODE_10GBASER, tp->phylink_config.supported_interfaces); WARNING: line length of 96 exceeds 80 columns #509: FILE: drivers/net/ethernet/realtek/r8169_main.c:5745: + phy_mode = tp->supports_gmii ? PHY_INTERFACE_MODE_GMII : PHY_INTERFACE_MODE_MII; WARNING: line length of 91 exceeds 80 columns #511: FILE: drivers/net/ethernet/realtek/r8169_main.c:5747: + __set_bit(PHY_INTERFACE_MODE_MII, tp->phylink_config.supported_interfaces); WARNING: line length of 100 exceeds 80 columns #513: FILE: drivers/net/ethernet/realtek/r8169_main.c:5749: + __set_bit(PHY_INTERFACE_MODE_GMII, tp->phylink_config.supported_interfaces); WARNING: line length of 101 exceeds 80 columns #517: FILE: drivers/net/ethernet/realtek/r8169_main.c:5753: + tp->phylink_config.mac_capabilities |= MAC_2500FD | MAC_5000FD | MAC_10000FD; WARNING: line length of 87 exceeds 80 columns #519: FILE: drivers/net/ethernet/realtek/r8169_main.c:5755: + tp->phylink_config.mac_capabilities |= MAC_2500FD | MAC_5000FD; total: 0 errors, 15 warnings, 0 checks, 488 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 f7a53df72ec9 ("r8169: add phylink support") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE FILE_PATH_CHANGES 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, 15 warnings, 0 checks, 488 lines checked