Re: [PATCH] ACPI: fan: add missing MODULE_DESCRIPTION()
From: Rafael J. Wysocki (Intel)
Date: Mon Nov 09 2026 - 14:41:24 EST
On Tue, Oct 27, 2026 at 5:16 PM George Karagounis <taterraster@xxxxxxxxx> wrote:
>
> modpost now warns about modules without a MODULE_DESCRIPTION macro.
>
> Add one for the ACPI fan driver to silence the warning and provide
>
> proper module metadata.
>
> Signed-off-by: George Karagounis <mail@xxxxxxxxxx>
> ---
> drivers/acpi/fan_attr.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/acpi/fan_attr.c b/drivers/acpi/fan_attr.c
> index 9b7fa52f3c2a..6b3d91c14f5c 100644
> --- a/drivers/acpi/fan_attr.c
> +++ b/drivers/acpi/fan_attr.c
> @@ -15,6 +15,7 @@
> #include "fan.h"
>
> MODULE_LICENSE("GPL");
> +MODULE_DESCRIPTION("Extra sysfs attributes for the ACPI fan driver");
>
> static ssize_t show_state(struct device *dev, struct device_attribute *attr, char *buf)
> {
> --
Applied as 7.5 material, thanks!