lib/ts: add missing MODULE_DESCRIPTION() macros
make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in lib/ts_kmp.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/ts_bm.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/ts_fsm.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Link: https://lkml.kernel.org/r/20240531-lib-ts-v1-1-03d7f3546c49@quicinc.com Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
6d74e1e371
commit
21516c56ff
@ -216,6 +216,7 @@ static void __exit exit_bm(void)
|
||||
textsearch_unregister(&bm_ops);
|
||||
}
|
||||
|
||||
MODULE_DESCRIPTION("Boyer-Moore text search implementation");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
module_init(init_bm);
|
||||
|
@ -331,6 +331,7 @@ static void __exit exit_fsm(void)
|
||||
textsearch_unregister(&fsm_ops);
|
||||
}
|
||||
|
||||
MODULE_DESCRIPTION("naive finite state machine text search");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
module_init(init_fsm);
|
||||
|
@ -147,6 +147,7 @@ static void __exit exit_kmp(void)
|
||||
textsearch_unregister(&kmp_ops);
|
||||
}
|
||||
|
||||
MODULE_DESCRIPTION("Knuth-Morris-Pratt text search implementation");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
module_init(init_kmp);
|
||||
|
Loading…
Reference in New Issue
Block a user