All of lore.kernel.org
 help / color / mirror / Atom feed
* + kunit-add-missing-module_description-macros-for-lib-_testko.patch added to mm-nonmm-unstable branch
@ 2024-06-05 23:01 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2024-06-05 23:01 UTC (permalink / raw)
  To: mm-commits, quic_jjohnson, akpm


The patch titled
     Subject: KUnit: add missing MODULE_DESCRIPTION() macros for lib/*_test.ko
has been added to the -mm mm-nonmm-unstable branch.  Its filename is
     kunit-add-missing-module_description-macros-for-lib-_testko.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/kunit-add-missing-module_description-macros-for-lib-_testko.patch

This patch will later appear in the mm-nonmm-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via the mm-everything
branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there every 2-3 working days

------------------------------------------------------
From: Jeff Johnson <quic_jjohnson@quicinc.com>
Subject: KUnit: add missing MODULE_DESCRIPTION() macros for lib/*_test.ko
Date: Sat, 1 Jun 2024 16:33:23 -0700

make allmodconfig && make W=1 C=1 reports for lib/*_test.ko:
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/atomic64_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/hashtable_test.o

Add the missing invocations of the MODULE_DESCRIPTION() macro.

Link: https://lkml.kernel.org/r/20240601-md-lib-test2-v1-1-be764b785f17@quicinc.com
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 lib/atomic64_test.c  |    1 +
 lib/hashtable_test.c |    1 +
 2 files changed, 2 insertions(+)

--- a/lib/atomic64_test.c~kunit-add-missing-module_description-macros-for-lib-_testko
+++ a/lib/atomic64_test.c
@@ -273,4 +273,5 @@ static __exit void test_atomics_exit(voi
 module_init(test_atomics_init);
 module_exit(test_atomics_exit);
 
+MODULE_DESCRIPTION("Testsuite for atomic64_t functions");
 MODULE_LICENSE("GPL");
--- a/lib/hashtable_test.c~kunit-add-missing-module_description-macros-for-lib-_testko
+++ a/lib/hashtable_test.c
@@ -314,4 +314,5 @@ static struct kunit_suite hashtable_test
 
 kunit_test_suites(&hashtable_test_module);
 
+MODULE_DESCRIPTION("KUnit test for the Kernel Hashtable structures");
 MODULE_LICENSE("GPL");
_

Patches currently in -mm which might be from quic_jjohnson@quicinc.com are

mm-hwpoison-add-module_description.patch
mm-dmapool-add-module_description.patch
mm-kfence-add-module_description.patch
mm-zsmalloc-add-module_description.patch
kmemleak-test-add-missing-module_description-macro.patch
backtracetest-add-module_description.patch
dyndbg-add-missing-module_description-macro.patch
lib-ts-add-missing-module_description-macros.patch
kunit-fortify-add-missing-module_description-macros.patch
kunit-add-missing-module_description-macros-for-lib-_testko.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-06-05 23:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-05 23:01 + kunit-add-missing-module_description-macros-for-lib-_testko.patch added to mm-nonmm-unstable branch Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.