[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240531-md-vsprintf-v1-1-d8bc7e21539a@quicinc.com>
Date: Fri, 31 May 2024 19:42:25 -0700
From: Jeff Johnson <quic_jjohnson@...cinc.com>
To: Andrew Morton <akpm@...ux-foundation.org>, Petr Mladek <pmladek@...e.com>,
Steven Rostedt <rostedt@...dmis.org>,
Andy Shevchenko
<andriy.shevchenko@...ux.intel.com>,
Rasmus Villemoes
<linux@...musvillemoes.dk>,
Sergey Senozhatsky <senozhatsky@...omium.org>
CC: <linux-kernel@...r.kernel.org>, <kernel-janitors@...r.kernel.org>,
"Jeff
Johnson" <quic_jjohnson@...cinc.com>
Subject: [PATCH] vsprintf: add missing MODULE_DESCRIPTION() macro
make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_printf.o
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_scanf.o
Add the missing invocations of the MODULE_DESCRIPTION() macro.
(Using vsprintf prefix since these files match the VSPRINTF entry in
the MAINTAINERS file)
Signed-off-by: Jeff Johnson <quic_jjohnson@...cinc.com>
---
lib/test_printf.c | 1 +
lib/test_scanf.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/lib/test_printf.c b/lib/test_printf.c
index 69b6a5e177f2..965cb6f28527 100644
--- a/lib/test_printf.c
+++ b/lib/test_printf.c
@@ -824,4 +824,5 @@ static void __init selftest(void)
KSTM_MODULE_LOADERS(test_printf);
MODULE_AUTHOR("Rasmus Villemoes <linux@...musvillemoes.dk>");
+MODULE_DESCRIPTION("Test cases for printf facility");
MODULE_LICENSE("GPL");
diff --git a/lib/test_scanf.c b/lib/test_scanf.c
index a2707af2951a..7257b1768545 100644
--- a/lib/test_scanf.c
+++ b/lib/test_scanf.c
@@ -810,4 +810,5 @@ static void __init selftest(void)
KSTM_MODULE_LOADERS(test_scanf);
MODULE_AUTHOR("Richard Fitzgerald <rf@...nsource.cirrus.com>");
+MODULE_DESCRIPTION("Test cases for sscanf facility");
MODULE_LICENSE("GPL v2");
---
base-commit: b050496579632f86ee1ef7e7501906db579f3457
change-id: 20240531-md-vsprintf-dab845ebc566
Powered by blists - more mailing lists