mirror of
https://github.com/torvalds/linux.git
synced 2025-11-02 09:40:27 +02:00
In order to access static metadata of a Rust kernel module, add the `ModuleMetadata` trait. In particular, this trait provides the name of a Rust kernel module as specified by the `module!` macro. Signed-off-by: Danilo Krummrich <dakr@kernel.org> Tested-by: Dirk Behme <dirk.behme@de.bosch.com> Tested-by: Fabien Parent <fabien.parent@linaro.org> Link: https://lore.kernel.org/r/20241219170425.12036-2-dakr@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
|---|---|---|
| .. | ||
| concat_idents.rs | ||
| helpers.rs | ||
| lib.rs | ||
| module.rs | ||
| paste.rs | ||
| pin_data.rs | ||
| pinned_drop.rs | ||
| quote.rs | ||
| vtable.rs | ||
| zeroable.rs | ||