Skip to content

Commit a930fde

Browse files
Jeff Johnsonpmladek
authored andcommitted
vsprintf: add missing MODULE_DESCRIPTION() macro
make allmodconfig && make W=1 C=1 reports: WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_printf.o WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_scanf.o Add the missing invocations of the MODULE_DESCRIPTION() macro. Signed-off-by: Jeff Johnson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Petr Mladek <[email protected]> Signed-off-by: Petr Mladek <[email protected]>
1 parent 3d9a0a2 commit a930fde

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/test_printf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -824,4 +824,5 @@ static void __init selftest(void)
824824

825825
KSTM_MODULE_LOADERS(test_printf);
826826
MODULE_AUTHOR("Rasmus Villemoes <[email protected]>");
827+
MODULE_DESCRIPTION("Test cases for printf facility");
827828
MODULE_LICENSE("GPL");

lib/test_scanf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -810,4 +810,5 @@ static void __init selftest(void)
810810

811811
KSTM_MODULE_LOADERS(test_scanf);
812812
MODULE_AUTHOR("Richard Fitzgerald <[email protected]>");
813+
MODULE_DESCRIPTION("Test cases for sscanf facility");
813814
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)