linux-trace-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] lib: test_objpool: add missing MODULE_DESCRIPTION() macro
@ 2024-07-15 14:18 Jeff Johnson
  2024-07-23 18:51 ` Jeff Johnson
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Johnson @ 2024-07-15 14:18 UTC (permalink / raw)
  To: Andrew Morton, Matt Wu, Masami Hiramatsu (Google)
  Cc: linux-trace-kernel, linux-kernel, kernel-janitors, Jeff Johnson

make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_objpool.o

Add the missing invocation of the MODULE_DESCRIPTION() macro.

Reviewed-by: Matt Wu <wuqiang.matt@bytedance.com>
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
Changes in v2:
- No changes to actual patch, just rebased, picked up Matt's Reviewed-by
  tag, and added Masami & linux-trace-kernel
- Link to v1: https://lore.kernel.org/r/20240531-md-lib-test_objpool-v1-1-516efee92a05@quicinc.com
---
 lib/test_objpool.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/test_objpool.c b/lib/test_objpool.c
index bfdb81599832..5a3f6961a70f 100644
--- a/lib/test_objpool.c
+++ b/lib/test_objpool.c
@@ -687,4 +687,5 @@ static void __exit ot_mod_exit(void)
 module_init(ot_mod_init);
 module_exit(ot_mod_exit);
 
-MODULE_LICENSE("GPL");
\ No newline at end of file
+MODULE_DESCRIPTION("Test module for lockless object pool");
+MODULE_LICENSE("GPL");

---
base-commit: 0c3836482481200ead7b416ca80c68a29cfdaabd
change-id: 20240531-md-lib-test_objpool-338d937f8666


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-23 18:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-15 14:18 [PATCH v2] lib: test_objpool: add missing MODULE_DESCRIPTION() macro Jeff Johnson
2024-07-23 18:51 ` Jeff Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).