Re: [PATCH] PCI: hotplug: add missing MODULE_DESCRIPTION() macro

From: Bjorn Helgaas
Date: Thu Jun 13 2024 - 18:08:20 EST


On Wed, Jun 12, 2024 at 10:45:23PM -0700, Jeff Johnson wrote:
> With ARCH=arm64, make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pci/hotplug/acpiphp_ampere_altra.o
>
> Add the missing invocation of the MODULE_DESCRIPTION() macro.
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>

Applied to pci/hotplug for v6.11, thanks!

> ---
> drivers/pci/hotplug/acpiphp_ampere_altra.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pci/hotplug/acpiphp_ampere_altra.c b/drivers/pci/hotplug/acpiphp_ampere_altra.c
> index 3fddd04851b6..f5c9e741c1d4 100644
> --- a/drivers/pci/hotplug/acpiphp_ampere_altra.c
> +++ b/drivers/pci/hotplug/acpiphp_ampere_altra.c
> @@ -124,4 +124,5 @@ static struct platform_driver altra_led_driver = {
> module_platform_driver(altra_led_driver);
>
> MODULE_AUTHOR("D Scott Phillips <scott@xxxxxxxxxxxxxxxxxxxxxx>");
> +MODULE_DESCRIPTION("ACPI PCI Hot Plug Extension for Ampere Altra");
> MODULE_LICENSE("GPL");
>
> ---
> base-commit: 83a7eefedc9b56fe7bfeff13b6c7356688ffa670
> change-id: 20240612-md-drivers-pci-hotplug-62a6e918e180
>