WARNING: line length of 83 exceeds 80 columns #65: FILE: drivers/net/phy/davicom_rust.rs:28: +const INTR_STOP: u16 = INTR_DPLX_MASK | INTR_SPD_MASK | INTR_LINK_MASK | INTR_MASK; WARNING: line length of 86 exceeds 80 columns #75: FILE: drivers/net/phy/davicom_rust.rs:38: +/// If so, it notifies the kernel to update the link state using `genphy_update_link`. WARNING: line length of 95 exceeds 80 columns #77: FILE: drivers/net/phy/davicom_rust.rs:40: +/// TODO: This function is currently unused because the Rust PHY abstraction `net::phy::Driver` WARNING: line length of 87 exceeds 80 columns #78: FILE: drivers/net/phy/davicom_rust.rs:41: +/// does not yet expose a `handle_interrupt` callback. It is included here for the RFC. WARNING: line length of 82 exceeds 80 columns #98: FILE: drivers/net/phy/davicom_rust.rs:61: +/// Configures whether the hardware alarm (interrupts) should be turned on or off. WARNING: line length of 91 exceeds 80 columns #100: FILE: drivers/net/phy/davicom_rust.rs:63: +/// It reads the current interrupt status requested by the OS by accessing the raw pointer. WARNING: line length of 95 exceeds 80 columns #102: FILE: drivers/net/phy/davicom_rust.rs:65: +/// TODO: This function is currently unused because the Rust PHY abstraction `net::phy::Driver` WARNING: line length of 82 exceeds 80 columns #103: FILE: drivers/net/phy/davicom_rust.rs:66: +/// does not yet expose a `config_intr` callback. It is included here for the RFC. WARNING: line length of 86 exceeds 80 columns #127: FILE: drivers/net/phy/davicom_rust.rs:90: +/// Isolates the PHY during configuration, then calls the generic `genphy_config_aneg` WARNING: line length of 81 exceeds 80 columns #128: FILE: drivers/net/phy/davicom_rust.rs:91: +/// via unsafe C bindings because Rust abstractions don't expose it directly yet. WARNING: line length of 89 exceeds 80 columns #143: FILE: drivers/net/phy/davicom_rust.rs:106: +/// Depending on the `interface` mode (MII vs RMII), the Scrambler Control Register (SCR) WARNING: line length of 95 exceeds 80 columns #146: FILE: drivers/net/phy/davicom_rust.rs:109: +/// TODO: This function is currently unused because the Rust PHY abstraction `net::phy::Driver` WARNING: line length of 82 exceeds 80 columns #147: FILE: drivers/net/phy/davicom_rust.rs:110: +/// does not yet expose a `config_init` callback. It is included here for the RFC. WARNING: line length of 81 exceeds 80 columns #159: FILE: drivers/net/phy/davicom_rust.rs:122: + bindings::phy_interface_t_PHY_INTERFACE_MODE_RMII => SCR_INIT | SCR_RMII, WARNING: line length of 96 exceeds 80 columns #178: FILE: drivers/net/phy/davicom_rust.rs:141: + const PHY_DEVICE_ID: phy::DeviceId = DeviceId::new_with_custom_mask(0x0181b880, 0x0ffffff0); WARNING: line length of 96 exceeds 80 columns #189: FILE: drivers/net/phy/davicom_rust.rs:152: + const PHY_DEVICE_ID: phy::DeviceId = DeviceId::new_with_custom_mask(0x0181b8a0, 0x0ffffff0); WARNING: line length of 113 exceeds 80 columns #197: FILE: drivers/net/phy/davicom_rust.rs:160: + device_table: [DeviceId::new_with_driver::(), DeviceId::new_with_driver::()], total: 0 errors, 17 warnings, 0 checks, 165 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 edbca40854b5 ("net: phy: rust: add experimental Davicom PHY driver") 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, 17 warnings, 0 checks, 165 lines checked