WARNING: please write a help paragraph that fully describes the config symbol #30: FILE: drivers/net/mdio/Kconfig:188: +config MDIO_REALTEK_RTL9300 + tristate "Realtek RTL9300 MDIO interface support" + depends on MACH_REALTEK_RTL || COMPILE_TEST + help + This driver supports the MDIO interface found in the Realtek + RTL9300 family of Ethernet switches with integrated SoC. + WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #53: new file mode 100644 WARNING: line length of 93 exceeds 80 columns #168: FILE: drivers/net/mdio/mdio-realtek-rtl9300.c:111: + err = regmap_write(regmap, SMI_ACCESS_PHY_CTRL_2, FIELD_PREP(PHY_CTRL_INDATA, port)); WARNING: line length of 89 exceeds 80 columns #191: FILE: drivers/net/mdio/mdio-realtek-rtl9300.c:134: +static int rtl9300_mdio_write_c22(struct mii_bus *bus, int phy_id, int regnum, u16 value) WARNING: line length of 94 exceeds 80 columns #214: FILE: drivers/net/mdio/mdio-realtek-rtl9300.c:157: + err = regmap_write(regmap, SMI_ACCESS_PHY_CTRL_2, FIELD_PREP(PHY_CTRL_INDATA, value)); WARNING: line length of 91 exceeds 80 columns #237: FILE: drivers/net/mdio/mdio-realtek-rtl9300.c:180: +static int rtl9300_mdio_read_c45(struct mii_bus *bus, int phy_id, int dev_addr, int regnum) WARNING: line length of 88 exceeds 80 columns #377: FILE: drivers/net/mdio/mdio-realtek-rtl9300.c:320: +static int rtl9300_mdiobus_probe_one(struct device *dev, struct rtl9300_mdio_priv *priv, WARNING: line length of 85 exceeds 80 columns #391: FILE: drivers/net/mdio/mdio-realtek-rtl9300.c:334: + if (fwnode_device_is_compatible(child, "ethernet-phy-ieee802.3-c45")) WARNING: line length of 84 exceeds 80 columns #431: FILE: drivers/net/mdio/mdio-realtek-rtl9300.c:374: + return dev_err_probe(dev, -EINVAL, "%pfwP missing ethernet-ports\n", WARNING: line length of 91 exceeds 80 columns #456: FILE: drivers/net/mdio/mdio-realtek-rtl9300.c:399: + return dev_err_probe(dev, -EINVAL, "illegal port number %d\n", pn); WARNING: line length of 95 exceeds 80 columns #463: FILE: drivers/net/mdio/mdio-realtek-rtl9300.c:406: + return dev_err_probe(dev, -EINVAL, "illegal smi bus number %d\n", bus); WARNING: line length of 93 exceeds 80 columns #510: FILE: drivers/net/mdio/mdio-realtek-rtl9300.c:453: + return dev_err_probe(dev, err, "failed to initialise MDIO bus controller\n"); total: 0 errors, 12 warnings, 0 checks, 495 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 062b6acd8581 ("net: mdio: Add RTL9300 MDIO driver") 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, 12 warnings, 0 checks, 495 lines checked