[PATCH 1/3] amiflop: add missing MODULE_DESCRIPTION() macro

Jeff Johnson posted 3 patches 1 year, 6 months ago
[PATCH 1/3] amiflop: add missing MODULE_DESCRIPTION() macro
Posted by Jeff Johnson 1 year, 6 months ago
With ARCH=m68k, make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/amiflop.o

Add the missing invocation of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
 drivers/block/amiflop.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/block/amiflop.c b/drivers/block/amiflop.c
index a25414228e47..310254c994aa 100644
--- a/drivers/block/amiflop.c
+++ b/drivers/block/amiflop.c
@@ -232,6 +232,7 @@ static DEFINE_MUTEX(amiflop_mutex);
 static unsigned long int fd_def_df0 = FD_DD_3;     /* default for df0 if it doesn't identify */
 
 module_param(fd_def_df0, ulong, 0);
+MODULE_DESCRIPTION("Amiga floppy driver");
 MODULE_LICENSE("GPL");
 
 /*

-- 
2.42.0
Re: [PATCH 1/3] amiflop: add missing MODULE_DESCRIPTION() macro
Posted by Geert Uytterhoeven 1 year, 6 months ago
On Tue, Jun 18, 2024 at 3:14 AM Jeff Johnson <quic_jjohnson@quicinc.com> wrote:
> With ARCH=m68k, make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/block/amiflop.o
>
> Add the missing invocation of the MODULE_DESCRIPTION() macro.
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>

Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds