WARNING: line length of 92 exceeds 80 columns #232: FILE: rust/kernel/net/phy/reg.rs:97: + // SAFETY: `phydev` is pointing to a valid object by the type invariant of `Device`. WARNING: line length of 96 exceeds 80 columns #233: FILE: rust/kernel/net/phy/reg.rs:98: + // So it's just an FFI call, open code of `phy_read()` with a valid `phy_device` pointer WARNING: line length of 90 exceeds 80 columns #236: FILE: rust/kernel/net/phy/reg.rs:101: + bindings::mdiobus_read((*phydev).mdio.bus, (*phydev).mdio.addr, self.0.into()) WARNING: line length of 92 exceeds 80 columns #244: FILE: rust/kernel/net/phy/reg.rs:109: + // SAFETY: `phydev` is pointing to a valid object by the type invariant of `Device`. WARNING: line length of 97 exceeds 80 columns #245: FILE: rust/kernel/net/phy/reg.rs:110: + // So it's just an FFI call, open code of `phy_write()` with a valid `phy_device` pointer WARNING: line length of 96 exceeds 80 columns #248: FILE: rust/kernel/net/phy/reg.rs:113: + bindings::mdiobus_write((*phydev).mdio.bus, (*phydev).mdio.addr, self.0.into(), val) WARNING: line length of 92 exceeds 80 columns #315: FILE: rust/kernel/net/phy/reg.rs:180: + // SAFETY: `phydev` is pointing to a valid object by the type invariant of `Device`. WARNING: line length of 95 exceeds 80 columns #318: FILE: rust/kernel/net/phy/reg.rs:183: + unsafe { bindings::phy_read_mmd(phydev, self.devad.0.into(), self.regnum.into()) }; WARNING: line length of 92 exceeds 80 columns #325: FILE: rust/kernel/net/phy/reg.rs:190: + // SAFETY: `phydev` is pointing to a valid object by the type invariant of `Device`. WARNING: line length of 89 exceeds 80 columns #328: FILE: rust/kernel/net/phy/reg.rs:193: + bindings::phy_write_mmd(phydev, self.devad.0.into(), self.regnum.into(), val) total: 0 errors, 10 warnings, 0 checks, 286 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 fe1ca0e52607 ("rust: net::phy unified read/write API for C22 and C45 registers") 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, 10 warnings, 0 checks, 286 lines checked