2024-05-25 00:17:46

by Jeff Johnson

[permalink] [raw]
Subject: [PATCH] locktorture: add MODULE_DESCRIPTION()

Fix the 'make W=1' warning:
WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/locktorture.o

Signed-off-by: Jeff Johnson <[email protected]>
---
kernel/locking/locktorture.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c
index 415d81e6ce70..de95ec07e477 100644
--- a/kernel/locking/locktorture.c
+++ b/kernel/locking/locktorture.c
@@ -30,6 +30,7 @@
#include <linux/torture.h>
#include <linux/reboot.h>

+MODULE_DESCRIPTION("torture test facility for locking");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Paul E. McKenney <[email protected]>");


---
base-commit: 07506d1011521a4a0deec1c69721c7405c40049b
change-id: 20240524-md-locktorture-6d431f82aa24



2024-05-25 05:02:16

by Paul E. McKenney

[permalink] [raw]
Subject: Re: [PATCH] locktorture: add MODULE_DESCRIPTION()

On Fri, May 24, 2024 at 05:17:24PM -0700, Jeff Johnson wrote:
> Fix the 'make W=1' warning:
> WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/locktorture.o
>
> Signed-off-by: Jeff Johnson <[email protected]>

Queued for the v6.11 merge window, thank you!

Thanx, Paul

> ---
> kernel/locking/locktorture.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c
> index 415d81e6ce70..de95ec07e477 100644
> --- a/kernel/locking/locktorture.c
> +++ b/kernel/locking/locktorture.c
> @@ -30,6 +30,7 @@
> #include <linux/torture.h>
> #include <linux/reboot.h>
>
> +MODULE_DESCRIPTION("torture test facility for locking");
> MODULE_LICENSE("GPL");
> MODULE_AUTHOR("Paul E. McKenney <[email protected]>");
>
>
> ---
> base-commit: 07506d1011521a4a0deec1c69721c7405c40049b
> change-id: 20240524-md-locktorture-6d431f82aa24
>