We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a98730 commit e52df48Copy full SHA for e52df48
rust/kernel/net/phy.rs
@@ -887,7 +887,7 @@ macro_rules! module_phy_driver {
887
[$($crate::net::phy::create_phy_driver::<$driver>()),+];
888
889
impl $crate::Module for Module {
890
- fn init(module: &'static ThisModule) -> Result<Self> {
+ fn init(_: &'static kernel::prelude::CStr, module: &'static ThisModule) -> Result<Self> {
891
// SAFETY: The anonymous constant guarantees that nobody else can access
892
// the `DRIVERS` static. The array is used only in the C side.
893
let drivers = unsafe { &mut DRIVERS };
0 commit comments