public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 01/10] exportfs: add module description
@ 2025-03-24 17:32 Arnd Bergmann
  2025-03-24 17:32 ` [PATCH 02/10] ASN.1: " Arnd Bergmann
                   ` (9 more replies)
  0 siblings, 10 replies; 19+ messages in thread
From: Arnd Bergmann @ 2025-03-24 17:32 UTC (permalink / raw)
  To: Jeff Johnson, Andrew Morton, Masahiro Yamada, Chuck Lever,
	Jeff Layton
  Cc: Stephen Rothwell, linux-next, Arnd Bergmann, Amir Goldstein,
	Christian Brauner, NeilBrown, linux-fsdevel, linux-nfs,
	linux-kernel

From: Arnd Bergmann <arnd@arndb.de>

Every loadable module should have a description, to avoid a warning such as:

WARNING: modpost: missing MODULE_DESCRIPTION() in fs/exportfs/exportfs.o

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 fs/exportfs/expfs.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/exportfs/expfs.c b/fs/exportfs/expfs.c
index b5845c4846b8..8a5f42c620af 100644
--- a/fs/exportfs/expfs.c
+++ b/fs/exportfs/expfs.c
@@ -608,4 +608,5 @@ struct dentry *exportfs_decode_fh(struct vfsmount *mnt, struct fid *fid,
 }
 EXPORT_SYMBOL_GPL(exportfs_decode_fh);
 
+MODULE_DESCRIPTION("Code mapping from inodes to NFS file handles");
 MODULE_LICENSE("GPL");
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 19+ messages in thread
* Re: [PATCH 10/10] kunit: slub: add module description
@ 2025-04-07 11:37 Venkat
  0 siblings, 0 replies; 19+ messages in thread
From: Venkat @ 2025-04-07 11:37 UTC (permalink / raw)
  To: arnd, akpm
  Cc: akpm, arnd, feng.79.tang, jeff.johnson, linux-kernel, linux-next,
	linux, masahiroy, rmoar, Stephen Rothwell, vbabka, xiaopei01

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@linux.ibm.com>

Regards,
Venkat.

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

end of thread, other threads:[~2025-04-25  4:32 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-24 17:32 [PATCH 01/10] exportfs: add module description Arnd Bergmann
2025-03-24 17:32 ` [PATCH 02/10] ASN.1: " Arnd Bergmann
2025-04-06 18:21   ` Geert Uytterhoeven
2025-03-24 17:32 ` [PATCH 03/10] samples/livepatch: add module descriptions Arnd Bergmann
2025-03-25 10:01   ` Petr Mladek
2025-03-25 15:03     ` Jeff Johnson
2025-03-24 17:32 ` [PATCH 04/10] fpga: tests: " Arnd Bergmann
2025-03-25 17:06   ` Marco Pagani
2025-04-25  4:27     ` Xu Yilun
2025-03-24 17:32 ` [PATCH 05/10] xenbus: add module description Arnd Bergmann
2025-03-27 16:43   ` Jürgen Groß
2025-03-24 17:32 ` [PATCH 06/10] zlib: " Arnd Bergmann
2025-03-24 17:32 ` [PATCH 07/10] ucs2_string: " Arnd Bergmann
2025-03-24 17:32 ` [PATCH 08/10] kunit: add module description for backtrace suppression test Arnd Bergmann
2025-03-24 17:32 ` [PATCH 09/10] mm/kasan: add module decription Arnd Bergmann
2025-03-24 22:00   ` Andrey Konovalov
2025-03-24 17:32 ` [PATCH 10/10] kunit: slub: add module description Arnd Bergmann
2025-03-25 14:58 ` (subset) [PATCH 01/10] exportfs: " Christian Brauner
  -- strict thread matches above, loose matches on Subject: below --
2025-04-07 11:37 [PATCH 10/10] kunit: slub: " Venkat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox