Files
linux-stable-mirror/rust/kernel
Yutaro Ohno b26e36b3e2 rust: kernel: fix THIS_MODULE header path in ThisModule doc comment
[ Upstream commit 8b55dc8610 ]

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 5b20755b77 ("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: 5b20755b77 ("init: move THIS_MODULE from <linux/export.h> to <linux/init.h>")
Signed-off-by: Yutaro Ohno <yutaro.ono.418@gmail.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/ZxXDZwxWgoEiIYkj@ohnotp
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-05 14:02:20 +01:00
..
2024-08-23 06:26:57 +02:00
2024-07-08 23:44:01 +02:00
2024-08-23 06:25:59 +02:00
2024-08-23 06:26:57 +02:00
2024-07-08 23:44:01 +02:00
2024-05-05 19:22:25 +02:00
2024-05-05 19:22:25 +02:00
2024-08-25 14:44:39 +02:00