diff mbox series

PCI: hotplug: add missing MODULE_DESCRIPTION() macro

Message ID 20240612-md-drivers-pci-hotplug-v1-1-2b30d14d783d@quicinc.com (mailing list archive)
State Handled Elsewhere, archived
Headers show
Series PCI: hotplug: add missing MODULE_DESCRIPTION() macro | expand

Commit Message

Jeff Johnson June 13, 2024, 5:45 a.m. UTC
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@quicinc.com>
---
 drivers/pci/hotplug/acpiphp_ampere_altra.c | 1 +
 1 file changed, 1 insertion(+)


---
base-commit: 83a7eefedc9b56fe7bfeff13b6c7356688ffa670
change-id: 20240612-md-drivers-pci-hotplug-62a6e918e180

Comments

Bjorn Helgaas June 13, 2024, 10:08 p.m. UTC | #1
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@quicinc.com>

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@os.amperecomputing.com>");
> +MODULE_DESCRIPTION("ACPI PCI Hot Plug Extension for Ampere Altra");
>  MODULE_LICENSE("GPL");
> 
> ---
> base-commit: 83a7eefedc9b56fe7bfeff13b6c7356688ffa670
> change-id: 20240612-md-drivers-pci-hotplug-62a6e918e180
>
diff mbox series

Patch

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@os.amperecomputing.com>");
+MODULE_DESCRIPTION("ACPI PCI Hot Plug Extension for Ampere Altra");
 MODULE_LICENSE("GPL");