* [PATCH torture 1/4] torture: Add MODULE_DESCRIPTION()
2024-06-04 22:17 [PATCH rcu 0/4] Torture-test updates for v6.11 Paul E. McKenney
@ 2024-06-04 22:17 ` Paul E. McKenney
2024-06-04 22:17 ` [PATCH torture 2/4] locktorture: " Paul E. McKenney
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Paul E. McKenney @ 2024-06-04 22:17 UTC (permalink / raw)
To: rcu; +Cc: linux-kernel, kernel-team, rostedt, Jeff Johnson, Paul E . McKenney
From: Jeff Johnson <quic_jjohnson@quicinc.com>
Fix the 'make W=1' warning:
WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/torture.o
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
---
kernel/torture.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/torture.c b/kernel/torture.c
index c72ab2d251f4f..dede150aef011 100644
--- a/kernel/torture.c
+++ b/kernel/torture.c
@@ -40,6 +40,7 @@
#include <linux/sched/rt.h>
#include "rcu/rcu.h"
+MODULE_DESCRIPTION("Common functions for in-kernel torture tests");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Paul E. McKenney <paulmck@linux.ibm.com>");
--
2.40.1
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH torture 2/4] locktorture: Add MODULE_DESCRIPTION()
2024-06-04 22:17 [PATCH rcu 0/4] Torture-test updates for v6.11 Paul E. McKenney
2024-06-04 22:17 ` [PATCH torture 1/4] torture: Add MODULE_DESCRIPTION() Paul E. McKenney
@ 2024-06-04 22:17 ` Paul E. McKenney
2024-06-04 22:17 ` [PATCH torture 3/4] scftorture: " Paul E. McKenney
2024-06-04 22:17 ` [PATCH torture 4/4] scftorture: Make torture_type static Paul E. McKenney
3 siblings, 0 replies; 5+ messages in thread
From: Paul E. McKenney @ 2024-06-04 22:17 UTC (permalink / raw)
To: rcu; +Cc: linux-kernel, kernel-team, rostedt, Jeff Johnson, Paul E . McKenney
From: Jeff Johnson <quic_jjohnson@quicinc.com>
Fix the 'make W=1' warning:
WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/locktorture.o
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
---
kernel/locking/locktorture.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c
index 415d81e6ce707..de95ec07e4771 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 <paulmck@linux.ibm.com>");
--
2.40.1
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH torture 3/4] scftorture: Add MODULE_DESCRIPTION()
2024-06-04 22:17 [PATCH rcu 0/4] Torture-test updates for v6.11 Paul E. McKenney
2024-06-04 22:17 ` [PATCH torture 1/4] torture: Add MODULE_DESCRIPTION() Paul E. McKenney
2024-06-04 22:17 ` [PATCH torture 2/4] locktorture: " Paul E. McKenney
@ 2024-06-04 22:17 ` Paul E. McKenney
2024-06-04 22:17 ` [PATCH torture 4/4] scftorture: Make torture_type static Paul E. McKenney
3 siblings, 0 replies; 5+ messages in thread
From: Paul E. McKenney @ 2024-06-04 22:17 UTC (permalink / raw)
To: rcu; +Cc: linux-kernel, kernel-team, rostedt, Jeff Johnson, Paul E . McKenney
From: Jeff Johnson <quic_jjohnson@quicinc.com>
Fix the 'make W=1' warning:
WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/scftorture.o
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
---
kernel/scftorture.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/scftorture.c b/kernel/scftorture.c
index 59032aaccd183..c20c6eb8389d2 100644
--- a/kernel/scftorture.c
+++ b/kernel/scftorture.c
@@ -43,6 +43,7 @@
#define SCFTORTOUT_ERRSTRING(s, x...) pr_alert(SCFTORT_FLAG "!!! " s "\n", ## x)
+MODULE_DESCRIPTION("Torture tests on the smp_call_function() family of primitives");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Paul E. McKenney <paulmck@kernel.org>");
--
2.40.1
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH torture 4/4] scftorture: Make torture_type static
2024-06-04 22:17 [PATCH rcu 0/4] Torture-test updates for v6.11 Paul E. McKenney
` (2 preceding siblings ...)
2024-06-04 22:17 ` [PATCH torture 3/4] scftorture: " Paul E. McKenney
@ 2024-06-04 22:17 ` Paul E. McKenney
3 siblings, 0 replies; 5+ messages in thread
From: Paul E. McKenney @ 2024-06-04 22:17 UTC (permalink / raw)
To: rcu; +Cc: linux-kernel, kernel-team, rostedt, Jeff Johnson, Paul E . McKenney
From: Jeff Johnson <quic_jjohnson@quicinc.com>
Fix the 'make C=1' warning:
kernel/scftorture.c:71:6: warning: symbol 'torture_type' was not declared. Should it be static?
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
---
kernel/scftorture.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/scftorture.c b/kernel/scftorture.c
index c20c6eb8389d2..44e83a6462647 100644
--- a/kernel/scftorture.c
+++ b/kernel/scftorture.c
@@ -68,7 +68,7 @@ torture_param(int, weight_many_wait, -1, "Testing weight for multi-CPU operation
torture_param(int, weight_all, -1, "Testing weight for all-CPU no-wait operations.");
torture_param(int, weight_all_wait, -1, "Testing weight for all-CPU operations.");
-char *torture_type = "";
+static char *torture_type = "";
#ifdef MODULE
# define SCFTORT_SHUTDOWN 0
--
2.40.1
^ permalink raw reply [flat|nested] 5+ messages in thread