Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

char: add missing NetWinder MODULE_DESCRIPTION() macros

Since commit 1fffe7a34c89 ("script: modpost: emit a warning when the
description is missing"), a module without a MODULE_DESCRIPTION() will
result in a warning with make W=1. The following warnings are being
observed in drivers/char when CONFIG_ARCH_NETWINDER is enabled:

WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/char/ds1620.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/char/nwbutton.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/char/nwflash.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/20240717-md-arm-drivers-char-nw-v1-1-fee7a8505e9e@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Jeff Johnson and committed by
Greg Kroah-Hartman
d1009d04 f528cd55

+3
+1
drivers/char/ds1620.c
··· 421 421 module_init(ds1620_init); 422 422 module_exit(ds1620_exit); 423 423 424 + MODULE_DESCRIPTION("Dallas Semiconductor DS1620 thermometer driver"); 424 425 MODULE_LICENSE("GPL");
+1
drivers/char/nwbutton.c
··· 241 241 242 242 243 243 MODULE_AUTHOR("Alex Holden"); 244 + MODULE_DESCRIPTION("NetWinder button driver"); 244 245 MODULE_LICENSE("GPL"); 245 246 246 247 module_init(nwbutton_init);
+1
drivers/char/nwflash.c
··· 618 618 iounmap((void *)FLASH_BASE); 619 619 } 620 620 621 + MODULE_DESCRIPTION("NetWinder flash memory driver"); 621 622 MODULE_LICENSE("GPL"); 622 623 623 624 module_param(flashdebug, bool, 0644);