ucs2_string: add module description
authorArnd Bergmann <arnd@arndb.de>
Mon, 24 Mar 2025 17:32:32 +0000 (18:32 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 12 Apr 2025 00:32:38 +0000 (17:32 -0700)
Modules without a description now cause a warning:

WARNING: modpost: missing MODULE_DESCRIPTION() in lib/ucs2_string.o

Link: https://lkml.kernel.org/r/20250324173242.1501003-7-arnd@kernel.org
Fixes: 6c6c1fc09de3 ("modpost: require a MODULE_DESCRIPTION()")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Stehen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/ucs2_string.c

index 9308bcfb2ad50c71b11f502002f68a347d660346..dfb4f2358cabfea962bb950fb986ac4bac20097e 100644 (file)
@@ -165,4 +165,5 @@ ucs2_as_utf8(u8 *dest, const ucs2_char_t *src, unsigned long maxlength)
 }
 EXPORT_SYMBOL(ucs2_as_utf8);
 
+MODULE_DESCRIPTION("UCS2 string handling");
 MODULE_LICENSE("GPL v2");