Re: [PATCH] ACPI: NFIT: add missing MODULE_DESCRIPTION() macro

From: Rafael J. Wysocki
Date: Thu Jun 13 2024 - 15:11:34 EST


On Thu, Jun 6, 2024 at 6:10 PM Dave Jiang <dave.jiang@xxxxxxxxx> wrote:
>
>
>
> On 6/3/24 6:30 AM, Jeff Johnson wrote:
> > make allmodconfig && make W=1 C=1 reports:
> > WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/acpi/nfit/nfit.o
> >
> > Add the missing invocation of the MODULE_DESCRIPTION() macro.
> >
> > Signed-off-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>
>
> Reviewed-by: Dave Jiang <dave.jiang@xxxxxxxxx>
> > ---
> > drivers/acpi/nfit/core.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c
> > index d4595d1985b1..e8520fb8af4f 100644
> > --- a/drivers/acpi/nfit/core.c
> > +++ b/drivers/acpi/nfit/core.c
> > @@ -3531,5 +3531,6 @@ static __exit void nfit_exit(void)
> >
> > module_init(nfit_init);
> > module_exit(nfit_exit);
> > +MODULE_DESCRIPTION("ACPI NVDIMM Firmware Interface Table (NFIT) module");
> > MODULE_LICENSE("GPL v2");
> > MODULE_AUTHOR("Intel Corporation");
> >
> > ---

Applied as 6.11 material, thanks!