WARNING: line length of 92 exceeds 80 columns #230: FILE: rust/kernel/net/phy/reg.rs:96: + // SAFETY: `phydev` is pointing to a valid object by the type invariant of `Device`. WARNING: line length of 96 exceeds 80 columns #231: FILE: rust/kernel/net/phy/reg.rs:97: + // 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 #234: FILE: rust/kernel/net/phy/reg.rs:100: + bindings::mdiobus_read((*phydev).mdio.bus, (*phydev).mdio.addr, self.0.into()) WARNING: line length of 92 exceeds 80 columns #242: FILE: rust/kernel/net/phy/reg.rs:108: + // SAFETY: `phydev` is pointing to a valid object by the type invariant of `Device`. WARNING: line length of 97 exceeds 80 columns #243: FILE: rust/kernel/net/phy/reg.rs:109: + // 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 #246: FILE: rust/kernel/net/phy/reg.rs:112: + bindings::mdiobus_write((*phydev).mdio.bus, (*phydev).mdio.addr, self.0.into(), val) WARNING: line length of 92 exceeds 80 columns #312: FILE: rust/kernel/net/phy/reg.rs:178: + // SAFETY: `phydev` is pointing to a valid object by the type invariant of `Device`. WARNING: line length of 95 exceeds 80 columns #315: FILE: rust/kernel/net/phy/reg.rs:181: + unsafe { bindings::phy_read_mmd(phydev, self.devad.0.into(), self.regnum.into()) }; WARNING: line length of 92 exceeds 80 columns #322: FILE: rust/kernel/net/phy/reg.rs:188: + // SAFETY: `phydev` is pointing to a valid object by the type invariant of `Device`. WARNING: line length of 89 exceeds 80 columns #325: FILE: rust/kernel/net/phy/reg.rs:191: + bindings::phy_write_mmd(phydev, self.devad.0.into(), self.regnum.into(), val) total: 0 errors, 10 warnings, 0 checks, 284 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 6c451dd72043 ("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, 284 lines checked