[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJZ5v0jCtky__pmmZoxpa6WCGVDLukmmDR01nUsSHaT6z3d4vw@mail.gmail.com>
Date: Thu, 13 Jun 2024 21:07:33 +0200
From: "Rafael J. Wysocki" <rafael@...nel.org>
To: Jeff Johnson <quic_jjohnson@...cinc.com>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>, Len Brown <lenb@...nel.org>, linux-acpi@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] ACPI: add missing MODULE_DESCRIPTION() macros
On Mon, Jun 3, 2024 at 4:29 PM Jeff Johnson <quic_jjohnson@...cinc.com> wrote:
>
> make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/acpi/acpi_tad.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/acpi/platform_profile.o
>
> Add the missing invocations of the MODULE_DESCRIPTION() macro.
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@...cinc.com>
> ---
> drivers/acpi/acpi_tad.c | 1 +
> drivers/acpi/platform_profile.c | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/drivers/acpi/acpi_tad.c b/drivers/acpi/acpi_tad.c
> index 1d670dbe4d1d..b831cb8e53dc 100644
> --- a/drivers/acpi/acpi_tad.c
> +++ b/drivers/acpi/acpi_tad.c
> @@ -27,6 +27,7 @@
> #include <linux/pm_runtime.h>
> #include <linux/suspend.h>
>
> +MODULE_DESCRIPTION("ACPI Time and Alarm (TAD) Device Driver");
> MODULE_LICENSE("GPL v2");
> MODULE_AUTHOR("Rafael J. Wysocki");
>
> diff --git a/drivers/acpi/platform_profile.c b/drivers/acpi/platform_profile.c
> index 4a9704730224..d2f7fd7743a1 100644
> --- a/drivers/acpi/platform_profile.c
> +++ b/drivers/acpi/platform_profile.c
> @@ -217,4 +217,5 @@ int platform_profile_remove(void)
> EXPORT_SYMBOL_GPL(platform_profile_remove);
>
> MODULE_AUTHOR("Mark Pearson <markpearson@...ovo.com>");
> +MODULE_DESCRIPTION("ACPI platform profile sysfs interface");
> MODULE_LICENSE("GPL");
>
> ---
Applied as 6.11 material, thanks!
Powered by blists - more mailing lists