diff options
| author | Yutaro Ohno <[email protected]> | 2024-10-21 02:58:47 +0000 |
|---|---|---|
| committer | Miguel Ojeda <[email protected]> | 2024-10-21 18:35:53 +0000 |
| commit | 8b55dc8610acf816a66373be53ca6e3bbe2d313a (patch) | |
| tree | c628bec3cda0b72b4248352f96c636a798a9eeb4 /rust/macros/lib.rs | |
| parent | rust: page: add Rust version of PAGE_ALIGN (diff) | |
| download | kernel-8b55dc8610acf816a66373be53ca6e3bbe2d313a.tar.gz kernel-8b55dc8610acf816a66373be53ca6e3bbe2d313a.zip | |
rust: kernel: fix THIS_MODULE header path in ThisModule doc comment
The doc comment for `ThisModule` incorrectly states the C header file
for `THIS_MODULE` as `include/linux/export.h`, while the correct path is
`include/linux/init.h`. This is because `THIS_MODULE` was moved in
commit 5b20755b7780 ("init: move THIS_MODULE from <linux/export.h> to
<linux/init.h>").
Update the doc comment for `ThisModule` to reflect the correct header
file path for `THIS_MODULE`.
Fixes: 5b20755b7780 ("init: move THIS_MODULE from <linux/export.h> to <linux/init.h>")
Signed-off-by: Yutaro Ohno <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/ZxXDZwxWgoEiIYkj@ohnotp
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'rust/macros/lib.rs')
0 files changed, 0 insertions, 0 deletions
