WARNING: line length of 91 exceeds 80 columns #72: FILE: drivers/net/phy/realtek/realtek_main.c:1472: +static int rtl8226_swap_rg_lpf_cap(struct phy_device *phydev, u32 reg_p0_p1, u32 reg_p2_p3) WARNING: line length of 93 exceeds 80 columns #92: FILE: drivers/net/phy/realtek/realtek_main.c:1492: + RTL8226_RG_LPF_CAP_PAIR_A_MASK | RTL8226_RG_LPF_CAP_PAIR_B_MASK, WARNING: line length of 81 exceeds 80 columns #93: FILE: drivers/net/phy/realtek/realtek_main.c:1493: + FIELD_PREP(RTL8226_RG_LPF_CAP_PAIR_A_MASK, val_p3) | WARNING: line length of 81 exceeds 80 columns #94: FILE: drivers/net/phy/realtek/realtek_main.c:1494: + FIELD_PREP(RTL8226_RG_LPF_CAP_PAIR_B_MASK, val_p2)); WARNING: line length of 93 exceeds 80 columns #99: FILE: drivers/net/phy/realtek/realtek_main.c:1499: + RTL8226_RG_LPF_CAP_PAIR_A_MASK | RTL8226_RG_LPF_CAP_PAIR_B_MASK, WARNING: line length of 81 exceeds 80 columns #100: FILE: drivers/net/phy/realtek/realtek_main.c:1500: + FIELD_PREP(RTL8226_RG_LPF_CAP_PAIR_A_MASK, val_p1) | WARNING: line length of 81 exceeds 80 columns #101: FILE: drivers/net/phy/realtek/realtek_main.c:1501: + FIELD_PREP(RTL8226_RG_LPF_CAP_PAIR_B_MASK, val_p0)); WARNING: line length of 90 exceeds 80 columns #121: FILE: drivers/net/phy/realtek/realtek_main.c:1521: + ret = phy_modify_mmd(phydev, MDIO_MMD_VEND2, RTL8226_VND2_UNKNOWN_D068, 0x7, 0x1); WARNING: line length of 87 exceeds 80 columns #126: FILE: drivers/net/phy/realtek/realtek_main.c:1526: + ret = phy_modify_mmd(phydev, MDIO_MMD_VEND2, RTL8226_VND2_UNKNOWN_D068, WARNING: line length of 88 exceeds 80 columns #128: FILE: drivers/net/phy/realtek/realtek_main.c:1528: + FIELD_PREP(RTL8226_VND2_UNKNOWN_D068_PAIR_SEL, i)); WARNING: line length of 87 exceeds 80 columns #132: FILE: drivers/net/phy/realtek/realtek_main.c:1532: + ret = phy_read_mmd(phydev, MDIO_MMD_VEND2, RTL8226_VND2_ADCCAL_OFFSET); WARNING: line length of 87 exceeds 80 columns #140: FILE: drivers/net/phy/realtek/realtek_main.c:1540: + ret = phy_modify_mmd(phydev, MDIO_MMD_VEND2, RTL8226_VND2_UNKNOWN_D068, WARNING: line length of 88 exceeds 80 columns #142: FILE: drivers/net/phy/realtek/realtek_main.c:1542: + FIELD_PREP(RTL8226_VND2_UNKNOWN_D068_PAIR_SEL, i)); WARNING: line length of 87 exceeds 80 columns #146: FILE: drivers/net/phy/realtek/realtek_main.c:1546: + ret = phy_write_mmd(phydev, MDIO_MMD_VEND2, RTL8226_VND2_ADCCAL_OFFSET, WARNING: line length of 92 exceeds 80 columns #166: FILE: drivers/net/phy/realtek/realtek_main.c:1566: + ret = of_property_read_u32(phydev->mdio.dev.of_node, "enet-phy-pair-order", &order); WARNING: ENOSYS means 'invalid syscall nr' and nothing else #169: FILE: drivers/net/phy/realtek/realtek_main.c:1569: + if (ret == -EINVAL || ret == -ENOSYS) total: 0 errors, 16 warnings, 0 checks, 167 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 9bdd090496d7 ("net: phy: realtek: support MDI swapping for RTL8226-CG") 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, 16 warnings, 0 checks, 167 lines checked