[PATCH] PCI: controller: add missing MODULE_DESCRIPTION() macros

Sergio Paracuellos sergio.paracuellos at gmail.com
Mon Jun 10 23:23:33 PDT 2024


Hi,

On Tue, Jun 11, 2024 at 3:04 AM Jeff Johnson <quic_jjohnson at quicinc.com> wrote:
>
> When ARCH=x86, make allmodconfig && make W=1 C=1 reports:

[snip]

> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/pci/controller/pcie-mt7621.o
>
> Add the missing invocations of the MODULE_DESCRIPTION() macro.
>
> Signed-off-by: Jeff Johnson <quic_jjohnson at quicinc.com>

[snip]

> diff --git a/drivers/pci/controller/pcie-mt7621.c b/drivers/pci/controller/pcie-mt7621.c
> index d97b956e6e57..9989e5e614b9 100644
> --- a/drivers/pci/controller/pcie-mt7621.c
> +++ b/drivers/pci/controller/pcie-mt7621.c
> @@ -549,4 +549,5 @@ static struct platform_driver mt7621_pcie_driver = {
>  };
>  builtin_platform_driver(mt7621_pcie_driver);
>
> +MODULE_DESCRIPTION("MediaTek MT7621 PCIe controller");
>  MODULE_LICENSE("GPL v2");
>

Acked-by: Sergio Paracuellos <sergio.paracuellos at gmail.com> # MT7621

Best regards,
   Sergio Paracuellos



More information about the linux-arm-kernel mailing list