]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rust: module: update the module macro with module parameter support
authorAndreas Hindborg <a.hindborg@kernel.org>
Wed, 24 Sep 2025 12:39:28 +0000 (14:39 +0200)
committerDaniel Gomez <da.gomez@kernel.org>
Mon, 3 Nov 2025 13:42:29 +0000 (14:42 +0100)
commit0b24f9740f26ac7ad91ac0f4de27717c14de91bd
treef76bfb95958797f2fbc014d46774fc7eda786954
parent3809d7a89fe550bf4065c04adff6dac610daddad
rust: module: update the module macro with module parameter support

Allow module parameters to be declared in the rust `module!` macro.

Reviewed-by: Benno Lossin <lossin@kernel.org>
Signed-off-by: Andreas Hindborg <a.hindborg@kernel.org>
Tested-by: Daniel Gomez <da.gomez@samsung.com>
Signed-off-by: Daniel Gomez <da.gomez@kernel.org>
rust/macros/helpers.rs
rust/macros/lib.rs
rust/macros/module.rs