2020-06-22 05:28:23

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH -next] lib/test_bits: add MODULE_LICENSE()

From: Randy Dunlap <[email protected]>

Add MODULE_LICENSE() to prevent build warning:

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

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Rikard Falkeborn <[email protected]>
Cc: Andrew Morton <[email protected]>
---
 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");