* [PATCH] slub_kunit: Add missing MODULE_DESCRIPTION() to fix modpost warning
@ 2025-04-07 7:21 Shivank Garg
2025-04-07 8:25 ` Vlastimil Babka
0 siblings, 1 reply; 2+ messages in thread
From: Shivank Garg @ 2025-04-07 7:21 UTC (permalink / raw)
To: akpm, linux-kernel, linux-mm
Cc: vbabka, kent.overstreet, kuba, harry.yoo, kees, shivankg
Fix a modpost warning due to the missing MODULE_DESCRIPTION() macro in
slub_kunit.c:
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/tests/slub_kunit.o
Signed-off-by: Shivank Garg <shivankg@amd.com>
---
lib/tests/slub_kunit.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/tests/slub_kunit.c b/lib/tests/slub_kunit.c
index d47c472b0520..f1bc30be6503 100644
--- a/lib/tests/slub_kunit.c
+++ b/lib/tests/slub_kunit.c
@@ -323,6 +323,8 @@ static struct kunit_suite test_suite = {
.init = test_init,
.test_cases = test_cases,
};
+
kunit_test_suite(test_suite);
+MODULE_DESCRIPTION("KUnit tests for SLUB allocator");
MODULE_LICENSE("GPL");
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] slub_kunit: Add missing MODULE_DESCRIPTION() to fix modpost warning
2025-04-07 7:21 [PATCH] slub_kunit: Add missing MODULE_DESCRIPTION() to fix modpost warning Shivank Garg
@ 2025-04-07 8:25 ` Vlastimil Babka
0 siblings, 0 replies; 2+ messages in thread
From: Vlastimil Babka @ 2025-04-07 8:25 UTC (permalink / raw)
To: Shivank Garg, akpm, linux-kernel, linux-mm
Cc: kent.overstreet, kuba, harry.yoo, kees, Arnd Bergmann
On 4/7/25 09:21, Shivank Garg wrote:
> Fix a modpost warning due to the missing MODULE_DESCRIPTION() macro in
> slub_kunit.c:
>
> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/tests/slub_kunit.o
>
> Signed-off-by: Shivank Garg <shivankg@amd.com>
Hi, AFAICS Arnd's fixes [1] for this and other modules is in -mm already.
[1]
https://lore.kernel.org/all/20250324173242.1501003-10-arnd@kernel.org/T/#m265ef1255bed7e2ab47fbcf2242a2d98d4875417
> ---
> lib/tests/slub_kunit.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/lib/tests/slub_kunit.c b/lib/tests/slub_kunit.c
> index d47c472b0520..f1bc30be6503 100644
> --- a/lib/tests/slub_kunit.c
> +++ b/lib/tests/slub_kunit.c
> @@ -323,6 +323,8 @@ static struct kunit_suite test_suite = {
> .init = test_init,
> .test_cases = test_cases,
> };
> +
> kunit_test_suite(test_suite);
>
> +MODULE_DESCRIPTION("KUnit tests for SLUB allocator");
> MODULE_LICENSE("GPL");
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-04-07 8:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-07 7:21 [PATCH] slub_kunit: Add missing MODULE_DESCRIPTION() to fix modpost warning Shivank Garg
2025-04-07 8:25 ` Vlastimil Babka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox