lib/ucs2_string.c: add MODULE_LICENSE()
authorRandy Dunlap <[email protected]>
Fri, 8 Jun 2018 00:10:55 +0000 (17:10 -0700)
committerLinus Torvalds <[email protected]>
Fri, 8 Jun 2018 00:34:39 +0000 (17:34 -0700)
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

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Matthew Garrett <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/ucs2_string.c

index d7e06b28de38299ce1a892f8e90b5f0c5d555a28..0a559a42359b82182c37d5f9f1520e01cbe52f4f 100644 (file)
@@ -112,3 +112,5 @@ ucs2_as_utf8(u8 *dest, const ucs2_char_t *src, unsigned long maxlength)
        return j;
 }
 EXPORT_SYMBOL(ucs2_as_utf8);
+
+MODULE_LICENSE("GPL v2");