Skip to content

Commit 9059044

Browse files
Jeff Johnsonakpm00
authored andcommitted
kfifo: add missing MODULE_DESCRIPTION() macros
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]>
1 parent 9d938f4 commit 9059044

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

samples/kfifo/bytestream-example.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,5 +191,6 @@ static void __exit example_exit(void)
191191

192192
module_init(example_init);
193193
module_exit(example_exit);
194+
MODULE_DESCRIPTION("Sample kfifo byte stream implementation");
194195
MODULE_LICENSE("GPL");
195196
MODULE_AUTHOR("Stefani Seibold <[email protected]>");

samples/kfifo/dma-example.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,6 @@ static void __exit example_exit(void)
138138

139139
module_init(example_init);
140140
module_exit(example_exit);
141+
MODULE_DESCRIPTION("Sample fifo dma implementation");
141142
MODULE_LICENSE("GPL");
142143
MODULE_AUTHOR("Stefani Seibold <[email protected]>");

samples/kfifo/inttype-example.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,5 +182,6 @@ static void __exit example_exit(void)
182182

183183
module_init(example_init);
184184
module_exit(example_exit);
185+
MODULE_DESCRIPTION("Sample kfifo int type implementation");
185186
MODULE_LICENSE("GPL");
186187
MODULE_AUTHOR("Stefani Seibold <[email protected]>");

samples/kfifo/record-example.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,5 +198,6 @@ static void __exit example_exit(void)
198198

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

0 commit comments

Comments
 (0)