diff mbox series

rcu: add missing MODULE_DESCRIPTION() macros

Message ID 20240518-rcu-v1-1-086a30b96877@quicinc.com (mailing list archive)
State Accepted
Commit a6fab7d13eecd62494e07f719ba1a2dc121ecca3
Headers show
Series rcu: add missing MODULE_DESCRIPTION() macros | expand

Commit Message

Jeff Johnson May 18, 2024, 11:28 p.m. UTC
Fix the following 'make W=1' warnings:

WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/rcu/rcutorture.o
WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/rcu/rcuscale.o
WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/rcu/refscale.o

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
 kernel/rcu/rcuscale.c   | 1 +
 kernel/rcu/rcutorture.c | 1 +
 kernel/rcu/refscale.c   | 1 +
 3 files changed, 3 insertions(+)


---
base-commit: 674143feb6a8c02d899e64e2ba0f992896afd532
change-id: 20240518-rcu-7d1939bd9205

Comments

Paul E. McKenney May 19, 2024, 12:45 a.m. UTC | #1
On Sat, May 18, 2024 at 04:28:08PM -0700, Jeff Johnson wrote:
> Fix the following 'make W=1' warnings:
> 
> WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/rcu/rcutorture.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/rcu/rcuscale.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/rcu/refscale.o
> 
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>

I applied and pushed both patches, thank you!

							Thanx, Paul

> ---
>  kernel/rcu/rcuscale.c   | 1 +
>  kernel/rcu/rcutorture.c | 1 +
>  kernel/rcu/refscale.c   | 1 +
>  3 files changed, 3 insertions(+)
> 
> diff --git a/kernel/rcu/rcuscale.c b/kernel/rcu/rcuscale.c
> index 8db4fedaaa1e..b53a9e8f5904 100644
> --- a/kernel/rcu/rcuscale.c
> +++ b/kernel/rcu/rcuscale.c
> @@ -42,6 +42,7 @@
>  
>  #include "rcu.h"
>  
> +MODULE_DESCRIPTION("Read-Copy Update module-based scalability-test facility");
>  MODULE_LICENSE("GPL");
>  MODULE_AUTHOR("Paul E. McKenney <paulmck@linux.ibm.com>");
>  
> diff --git a/kernel/rcu/rcutorture.c b/kernel/rcu/rcutorture.c
> index 807fbf6123a7..b0d8d06ab7a8 100644
> --- a/kernel/rcu/rcutorture.c
> +++ b/kernel/rcu/rcutorture.c
> @@ -51,6 +51,7 @@
>  
>  #include "rcu.h"
>  
> +MODULE_DESCRIPTION("Read-Copy Update module-based torture test facility");
>  MODULE_LICENSE("GPL");
>  MODULE_AUTHOR("Paul E. McKenney <paulmck@linux.ibm.com> and Josh Triplett <josh@joshtriplett.org>");
>  
> diff --git a/kernel/rcu/refscale.c b/kernel/rcu/refscale.c
> index 2c2648a3ad30..f4ea5b1ec068 100644
> --- a/kernel/rcu/refscale.c
> +++ b/kernel/rcu/refscale.c
> @@ -63,6 +63,7 @@ do {											\
>  
>  #define SCALEOUT_ERRSTRING(s, x...) pr_alert("%s" SCALE_FLAG "!!! " s "\n", scale_type, ## x)
>  
> +MODULE_DESCRIPTION("Scalability test for object reference mechanisms");
>  MODULE_LICENSE("GPL");
>  MODULE_AUTHOR("Joel Fernandes (Google) <joel@joelfernandes.org>");
>  
> 
> ---
> base-commit: 674143feb6a8c02d899e64e2ba0f992896afd532
> change-id: 20240518-rcu-7d1939bd9205
>
diff mbox series

Patch

diff --git a/kernel/rcu/rcuscale.c b/kernel/rcu/rcuscale.c
index 8db4fedaaa1e..b53a9e8f5904 100644
--- a/kernel/rcu/rcuscale.c
+++ b/kernel/rcu/rcuscale.c
@@ -42,6 +42,7 @@ 
 
 #include "rcu.h"
 
+MODULE_DESCRIPTION("Read-Copy Update module-based scalability-test facility");
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Paul E. McKenney <paulmck@linux.ibm.com>");
 
diff --git a/kernel/rcu/rcutorture.c b/kernel/rcu/rcutorture.c
index 807fbf6123a7..b0d8d06ab7a8 100644
--- a/kernel/rcu/rcutorture.c
+++ b/kernel/rcu/rcutorture.c
@@ -51,6 +51,7 @@ 
 
 #include "rcu.h"
 
+MODULE_DESCRIPTION("Read-Copy Update module-based torture test facility");
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Paul E. McKenney <paulmck@linux.ibm.com> and Josh Triplett <josh@joshtriplett.org>");
 
diff --git a/kernel/rcu/refscale.c b/kernel/rcu/refscale.c
index 2c2648a3ad30..f4ea5b1ec068 100644
--- a/kernel/rcu/refscale.c
+++ b/kernel/rcu/refscale.c
@@ -63,6 +63,7 @@  do {											\
 
 #define SCALEOUT_ERRSTRING(s, x...) pr_alert("%s" SCALE_FLAG "!!! " s "\n", scale_type, ## x)
 
+MODULE_DESCRIPTION("Scalability test for object reference mechanisms");
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Joel Fernandes (Google) <joel@joelfernandes.org>");