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

From: Sergio Paracuellos
Date: Tue Jun 11 2024 - 02:24:07 EST


Hi,

On Tue, Jun 11, 2024 at 3:04 AM Jeff Johnson <quic_jjohnson@xxxxxxxxxxx> 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@xxxxxxxxxxx>

[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@xxxxxxxxx> # MT7621

Best regards,
Sergio Paracuellos