Skip to content

Commit df216f5

Browse files
jeff-t-johnsonmhiramat
authored andcommitted
fprobe: add missing MODULE_DESCRIPTION() macro
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. Link: https://lore.kernel.org/all/20240601-md-samples-fprobe-v1-1-5d256a956612@quicinc.com/ Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
1 parent 3572bd5 commit df216f5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

samples/fprobe/fprobe_example.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,5 @@ static void __exit fprobe_exit(void)
150150

151151
module_init(fprobe_init)
152152
module_exit(fprobe_exit)
153+
MODULE_DESCRIPTION("sample kernel module showing the use of fprobe");
153154
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)