Skip to content

Commit

Permalink
kfifo: add missing MODULE_DESCRIPTION() macros
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 samples/kfifo/bytestream-example.o
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kfifo/dma-example.o
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kfifo/inttype-example.o
WARNING: modpost: missing MODULE_DESCRIPTION() in samples/kfifo/record-example.o

Add the missing invocations of the MODULE_DESCRIPTION() macro.

Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jeff Johnson <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Stefani Seibold <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
  • Loading branch information
Jeff Johnson authored and akpm00 committed Jun 29, 2024
1 parent 9d938f4 commit 9059044
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions samples/kfifo/bytestream-example.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,5 +191,6 @@ static void __exit example_exit(void)

module_init(example_init);
module_exit(example_exit);
MODULE_DESCRIPTION("Sample kfifo byte stream implementation");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Stefani Seibold <[email protected]>");
1 change: 1 addition & 0 deletions samples/kfifo/dma-example.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,5 +138,6 @@ static void __exit example_exit(void)

module_init(example_init);
module_exit(example_exit);
MODULE_DESCRIPTION("Sample fifo dma implementation");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Stefani Seibold <[email protected]>");
1 change: 1 addition & 0 deletions samples/kfifo/inttype-example.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,5 +182,6 @@ static void __exit example_exit(void)

module_init(example_init);
module_exit(example_exit);
MODULE_DESCRIPTION("Sample kfifo int type implementation");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Stefani Seibold <[email protected]>");
1 change: 1 addition & 0 deletions samples/kfifo/record-example.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,5 +198,6 @@ static void __exit example_exit(void)

module_init(example_init);
module_exit(example_exit);
MODULE_DESCRIPTION("Sample dynamic sized record fifo implementation");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Stefani Seibold <[email protected]>");

0 comments on commit 9059044

Please sign in to comment.