lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <DC0A949B-A21C-460A-A368-377B4A28F141@linux.ibm.com>
Date: Mon, 7 Apr 2025 17:07:48 +0530
From: Venkat <venkat88@...ux.ibm.com>
To: arnd@...nel.org, akpm@...ux-foundation.org
Cc: akpm@...ux-foundation.org, arnd@...db.de, feng.79.tang@...il.com,
        jeff.johnson@....qualcomm.com, linux-kernel@...r.kernel.org,
        linux-next@...r.kernel.org, linux@...ck-us.net, masahiroy@...nel.org,
        rmoar@...gle.com, Stephen Rothwell <sfr@...b.auug.org.au>,
        vbabka@...e.cz, xiaopei01@...inos.cn
Subject: Re: [PATCH 10/10] kunit: slub: add module description

Hello,


I am observing this warning on the mainline kernel on IBM Power9 Server. Similar warnings are reported on the linux-next as well [1] .

WARNING: modpost: missing MODULE_DESCRIPTION() in lib/tests/slub_kunit.o

Repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

HEAD Commit: 0af2f6be1b4281385b618cb86ad946eded089ac8.

[1]: https://lore.kernel.org/all/20250407084858.74a128d2@canb.auug.org.au/

I have made below changes and it fixes the issue.

diff --git a/lib/tests/slub_kunit.c b/lib/tests/slub_kunit.c
index d47c472b0520..848b682a2d70 100644
--- a/lib/tests/slub_kunit.c
+++ b/lib/tests/slub_kunit.c
@@ -325,4 +325,5 @@ static struct kunit_suite test_suite = {
 };
 kunit_test_suite(test_suite);
 
+MODULE_DESCRIPTION("Kunit tests for slub allocator");
 MODULE_LICENSE("GPL");


If its acceptable please add below tag.

Tested-by: Venkat Rao Bagalkote <venkat88@...ux.ibm.com>

Regards,
Venkat.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ