[PATCH] mtd: add missing MODULE_DESCRIPTION() macros
Jeff Johnson
quic_jjohnson at quicinc.com
Wed Jun 26 09:17:47 PDT 2024
On 6/10/2024 10:07 PM, Jeff Johnson wrote:
> With ARCH=x86, make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mtd/parsers/brcm_u-boot.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mtd/parsers/tplink_safeloader.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mtd/chips/cfi_util.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mtd/chips/cfi_cmdset_0020.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/mtd/maps/map_funcs.o
>
> Add the missing invocations of the MODULE_DESCRIPTION() macro.
>
> Signed-off-by: Jeff Johnson <quic_jjohnson at quicinc.com>
> ---
> Corrections to these descriptions are welcomed. I'm not an expert in
> this code so in most cases I've taken these descriptions directly from
> code comments, Kconfig descriptions, or git logs. History has shown
> that in some cases these are originally wrong due to cut-n-paste
> errors, and in other cases the drivers have evolved such that the
> original information is no longer accurate.
> ---
> drivers/mtd/chips/cfi_cmdset_0020.c | 1 +
> drivers/mtd/chips/cfi_util.c | 1 +
> drivers/mtd/maps/map_funcs.c | 1 +
> drivers/mtd/parsers/brcm_u-boot.c | 1 +
> drivers/mtd/parsers/tplink_safeloader.c | 1 +
> 5 files changed, 5 insertions(+)
Following up to see if anything else is needed from me. Hoping to see this in
linux-next so I can remove it from my tracking spreadsheet :)
/jeff
More information about the linux-mtd
mailing list