linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] lib/ucs2_string: add MODULE_LICENSE()
@ 2018-06-07 16:25 Randy Dunlap
  0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2018-06-07 16:25 UTC (permalink / raw)
  To: LKML, Greg Kroah-Hartman, Andrew Morton; +Cc: Matthew Garrett, Linus Torvalds

From: Randy Dunlap <rdunlap@infradead.org>

Fix missing MODULE_LICENSE() warning in lib/ucs2_string.c:

WARNING: modpost: missing MODULE_LICENSE() in lib/ucs2_string.o
see include/linux/module.h for more information

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Matthew Garrett <matthew.garrett@nebula.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
---
Found in linux-next but applies to current mainline.

 lib/ucs2_string.c |    2 ++
 1 file changed, 2 insertions(+)

--- linux-next-20180607.orig/lib/ucs2_string.c
+++ linux-next-20180607/lib/ucs2_string.c
@@ -112,3 +112,5 @@ ucs2_as_utf8(u8 *dest, const ucs2_char_t
 	return j;
 }
 EXPORT_SYMBOL(ucs2_as_utf8);
+
+MODULE_LICENSE("GPL v2");

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

only message in thread, other threads:[~2018-06-07 16:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-07 16:25 [PATCH] lib/ucs2_string: 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;
as well as URLs for NNTP newsgroup(s).