lkml.org 
[lkml]   [2018]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] lib/ucs2_string: add MODULE_LICENSE()
Date
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");

\
 
 \ /
  Last update: 2018-06-07 18:26    [W:1.239 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site