* [PATCH] fprobe: add missing MODULE_DESCRIPTION() macro
@ 2024-06-02 0:25 Jeff Johnson
2024-06-02 1:06 ` Masami Hiramatsu
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Johnson @ 2024-06-02 0:25 UTC (permalink / raw)
To: Masami Hiramatsu (Google), Steven Rostedt (Google)
Cc: linux-kernel, kernel-janitors, Jeff Johnson
make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/fprobe/fprobe_example.o
Add the missing invocation of the MODULE_DESCRIPTION() macro.
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
samples/fprobe/fprobe_example.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/samples/fprobe/fprobe_example.c b/samples/fprobe/fprobe_example.c
index 64e715e7ed11..0a50b05add96 100644
--- a/samples/fprobe/fprobe_example.c
+++ b/samples/fprobe/fprobe_example.c
@@ -150,4 +150,5 @@ static void __exit fprobe_exit(void)
module_init(fprobe_init)
module_exit(fprobe_exit)
+MODULE_DESCRIPTION("sample kernel module showing the use of fprobe");
MODULE_LICENSE("GPL");
---
base-commit: b050496579632f86ee1ef7e7501906db579f3457
change-id: 20240601-md-samples-fprobe-b2b92d8be350
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] fprobe: add missing MODULE_DESCRIPTION() macro
2024-06-02 0:25 [PATCH] fprobe: add missing MODULE_DESCRIPTION() macro Jeff Johnson
@ 2024-06-02 1:06 ` Masami Hiramatsu
0 siblings, 0 replies; 2+ messages in thread
From: Masami Hiramatsu @ 2024-06-02 1:06 UTC (permalink / raw)
To: Jeff Johnson; +Cc: Steven Rostedt (Google), linux-kernel, kernel-janitors
On Sat, 1 Jun 2024 17:25:22 -0700
Jeff Johnson <quic_jjohnson@quicinc.com> wrote:
> make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in samples/fprobe/fprobe_example.o
>
> Add the missing invocation of the MODULE_DESCRIPTION() macro.
>
Thanks for adding this. Looks good to me.
Let me pick it to probes/for-next.
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> ---
> samples/fprobe/fprobe_example.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/samples/fprobe/fprobe_example.c b/samples/fprobe/fprobe_example.c
> index 64e715e7ed11..0a50b05add96 100644
> --- a/samples/fprobe/fprobe_example.c
> +++ b/samples/fprobe/fprobe_example.c
> @@ -150,4 +150,5 @@ static void __exit fprobe_exit(void)
>
> module_init(fprobe_init)
> module_exit(fprobe_exit)
> +MODULE_DESCRIPTION("sample kernel module showing the use of fprobe");
> MODULE_LICENSE("GPL");
>
> ---
> base-commit: b050496579632f86ee1ef7e7501906db579f3457
> change-id: 20240601-md-samples-fprobe-b2b92d8be350
>
--
Masami Hiramatsu (Google) <mhiramat@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-02 1:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-02 0:25 [PATCH] fprobe: add missing MODULE_DESCRIPTION() macro Jeff Johnson
2024-06-02 1:06 ` Masami Hiramatsu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®