diff mbox series

[05/10] xenbus: add module description

Message ID 20250324173242.1501003-5-arnd@kernel.org (mailing list archive)
State New
Headers show
Series None | expand

Commit Message

Arnd Bergmann March 24, 2025, 5:32 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de>

Modules without a description now cause a warning:

WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/xen/xenbus/xenbus_probe_frontend.o

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/xen/xenbus/xenbus_probe_frontend.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Jürgen Groß March 27, 2025, 4:43 p.m. UTC | #1
On 24.03.25 18:32, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.de>
> 
> Modules without a description now cause a warning:
> 
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/xen/xenbus/xenbus_probe_frontend.o
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
>   drivers/xen/xenbus/xenbus_probe_frontend.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/xen/xenbus/xenbus_probe_frontend.c b/drivers/xen/xenbus/xenbus_probe_frontend.c
> index fcb335bb7b18..8b75f8234baf 100644
> --- a/drivers/xen/xenbus/xenbus_probe_frontend.c
> +++ b/drivers/xen/xenbus/xenbus_probe_frontend.c
> @@ -513,4 +513,5 @@ static int __init boot_wait_for_devices(void)
>   late_initcall(boot_wait_for_devices);
>   #endif
>   
> +MODULE_DESCRIPTION("Frontend for Xen bus probe");

May I suggest "Xen PV-device frontend support" instead?


Juergen
diff mbox series

Patch

diff --git a/drivers/xen/xenbus/xenbus_probe_frontend.c b/drivers/xen/xenbus/xenbus_probe_frontend.c
index fcb335bb7b18..8b75f8234baf 100644
--- a/drivers/xen/xenbus/xenbus_probe_frontend.c
+++ b/drivers/xen/xenbus/xenbus_probe_frontend.c
@@ -513,4 +513,5 @@  static int __init boot_wait_for_devices(void)
 late_initcall(boot_wait_for_devices);
 #endif
 
+MODULE_DESCRIPTION("Frontend for Xen bus probe");
 MODULE_LICENSE("GPL");