The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH -next] lib/test_bits: add MODULE_LICENSE()
@ 2020-06-22  5:26 Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2020-06-22  5:26 UTC (permalink / raw)
  To: LKML, Andrew Morton, Rikard Falkeborn

From: Randy Dunlap <rd.dunlap@gmail.com>

Add MODULE_LICENSE() to prevent build warning:

WARNING: modpost: missing MODULE_LICENSE() in lib/test_bits.o

Signed-off-by: Randy Dunlap <rd.dunlap@gmail.com>
Cc: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
---
 lib/test_bits.c |    2 ++
 1 file changed, 2 insertions(+)

--- linux-next-20200621.orig/lib/test_bits.c
+++ linux-next-20200621/lib/test_bits.c
@@ -71,3 +71,5 @@ static struct kunit_suite bits_test_suit
     .test_cases = bits_test_cases,
 };
 kunit_test_suite(bits_test_suite);
+
+MODULE_LICENSE("GPL");


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

only message in thread, other threads:[~2020-06-22  5:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-22  5:26 [PATCH -next] lib/test_bits: add MODULE_LICENSE() Randy Dunlap

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