diff options
| author | Danilo Krummrich <[email protected]> | 2024-12-19 17:04:03 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-12-20 16:19:25 +0000 |
| commit | a790265c7f663c382ac25ecb841e241a023f0590 (patch) | |
| tree | aacf999532ee25bc00a1f1bced7a9dd11277f13a /rust/helpers/rcu.c | |
| parent | rust: miscdevice: add fops->show_fdinfo() hook (diff) | |
| download | kernel-a790265c7f663c382ac25ecb841e241a023f0590.tar.gz kernel-a790265c7f663c382ac25ecb841e241a023f0590.zip | |
rust: module: add trait `ModuleMetadata`
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 <[email protected]>
Tested-by: Dirk Behme <[email protected]>
Tested-by: Fabien Parent <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/helpers/rcu.c')
0 files changed, 0 insertions, 0 deletions
