Skip to content

Commit

Permalink
vsprintf: add missing MODULE_DESCRIPTION() macro
Browse files Browse the repository at this point in the history
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 <quic_jjohnson@quicinc.com>
Link: https://lore.kernel.org/r/20240531-md-vsprintf-v1-1-d8bc7e21539a@quicinc.com
Reviewed-by: Petr Mladek <pmladek@suse.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
  • Loading branch information
Jeff Johnson authored and Petr Mladek committed Jun 12, 2024
1 parent 3d9a0a2 commit a930fde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/test_printf.c
Original file line number Diff line number Diff line change
Expand Up @@ -824,4 +824,5 @@ static void __init selftest(void)

KSTM_MODULE_LOADERS(test_printf);
MODULE_AUTHOR("Rasmus Villemoes <linux@rasmusvillemoes.dk>");
MODULE_DESCRIPTION("Test cases for printf facility");
MODULE_LICENSE("GPL");
1 change: 1 addition & 0 deletions lib/test_scanf.c
Original file line number Diff line number Diff line change
Expand Up @@ -810,4 +810,5 @@ static void __init selftest(void)

KSTM_MODULE_LOADERS(test_scanf);
MODULE_AUTHOR("Richard Fitzgerald <rf@opensource.cirrus.com>");
MODULE_DESCRIPTION("Test cases for sscanf facility");
MODULE_LICENSE("GPL v2");

0 comments on commit a930fde

Please sign in to comment.