2024-05-31 04:26:01

by Jeff Johnson

[permalink] [raw]
Subject: [PATCH] siox: bus-gpio: add missing MODULE_DESCRIPTION()

make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/siox/siox-bus-gpio.o

Add the missing invocation of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <[email protected]>
---
drivers/siox/siox-bus-gpio.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/siox/siox-bus-gpio.c b/drivers/siox/siox-bus-gpio.c
index 9e01642e72de..d6f936464063 100644
--- a/drivers/siox/siox-bus-gpio.c
+++ b/drivers/siox/siox-bus-gpio.c
@@ -148,5 +148,6 @@ static struct platform_driver siox_gpio_driver = {
module_platform_driver(siox_gpio_driver);

MODULE_AUTHOR("Uwe Kleine-Koenig <[email protected]>");
+MODULE_DESCRIPTION("SIOX GPIO bus driver");
MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:" DRIVER_NAME);

---
base-commit: 4a4be1ad3a6efea16c56615f31117590fd881358
change-id: 20240530-md-siox-bus-gpio-72cba921cf84



2024-06-03 05:17:47

by Thorsten Scherer

[permalink] [raw]
Subject: Re: [PATCH] siox: bus-gpio: add missing MODULE_DESCRIPTION()

Hello,

On Thu, May 30, 2024 at 09:25:37PM -0700, Jeff Johnson wrote:
> make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/siox/siox-bus-gpio.o
>
> Add the missing invocation of the MODULE_DESCRIPTION() macro.
>
> Signed-off-by: Jeff Johnson <[email protected]>

Acked-by: Thorsten Scherer <[email protected]>

@gregkh: Would you please pick up this patch?

Thanks to you both.

> ---
> drivers/siox/siox-bus-gpio.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/siox/siox-bus-gpio.c b/drivers/siox/siox-bus-gpio.c
> index 9e01642e72de..d6f936464063 100644
> --- a/drivers/siox/siox-bus-gpio.c
> +++ b/drivers/siox/siox-bus-gpio.c
> @@ -148,5 +148,6 @@ static struct platform_driver siox_gpio_driver = {
> module_platform_driver(siox_gpio_driver);
>
> MODULE_AUTHOR("Uwe Kleine-Koenig <[email protected]>");
> +MODULE_DESCRIPTION("SIOX GPIO bus driver");
> MODULE_LICENSE("GPL v2");
> MODULE_ALIAS("platform:" DRIVER_NAME);
>
> ---
> base-commit: 4a4be1ad3a6efea16c56615f31117590fd881358
> change-id: 20240530-md-siox-bus-gpio-72cba921cf84
>

Best regards
Thorsten