Messages in this thread Patch in this message | | | From | Randy Dunlap <> | Subject | [PATCH] lib/ucs2_string: add MODULE_LICENSE() | Date | Thu, 7 Jun 2018 09:25:56 -0700 |
| |
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");
| |