]> Git Repo - J-linux.git/commitdiff
clk: test: add missing MODULE_DESCRIPTION() macros
authorJeff Johnson <[email protected]>
Sun, 2 Jun 2024 15:38:33 +0000 (08:38 -0700)
committerStephen Boyd <[email protected]>
Mon, 3 Jun 2024 22:46:46 +0000 (15:46 -0700)
make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/clk_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/clk-gate_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/clk/clk-fractional-divider_test.o

Add the missing invocations of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[[email protected]: Reword header and description]
Signed-off-by: Stephen Boyd <[email protected]>
drivers/clk/clk-fractional-divider_test.c
drivers/clk/clk-gate_test.c
drivers/clk/clk_test.c

index 929eec92754806b95950a88c65c165ad840a6b90..25fa35d89c1a30b54f1153e65289ebb75d86708e 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * Kunit test for clock fractional divider
+ * Kunit tests for clk fractional divider
  */
 #include <linux/clk-provider.h>
 #include <kunit/test.h>
@@ -144,4 +144,5 @@ static struct kunit_suite clk_fd_approximation_suite = {
 kunit_test_suites(
        &clk_fd_approximation_suite
 );
+MODULE_DESCRIPTION("Kunit tests for clk fractional divider");
 MODULE_LICENSE("GPL");
index c96d93b19ddf7c6d07444d2450f3b5b1d1c161c0..e276cd974750be341050993d4655a692c0167408 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * Kunit test for clk gate basic type
+ * Kunit tests for clk gate
  */
 #include <linux/clk.h>
 #include <linux/clk-provider.h>
@@ -461,4 +461,5 @@ kunit_test_suites(
        &clk_gate_test_hiword_suite,
        &clk_gate_test_enabled_suite
 );
+MODULE_DESCRIPTION("Kunit tests for clk gate");
 MODULE_LICENSE("GPL v2");
index 39e2b5ff4f5144addbc675e35b499a3a2822832e..fbbea66d9cba26838807989cebaa9891c5d07b6f 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: GPL-2.0
 /*
- * Kunit test for clk rate management
+ * Kunit tests for clk framework
  */
 #include <linux/clk.h>
 #include <linux/clk-provider.h>
@@ -2674,4 +2674,5 @@ kunit_test_suites(
        &clk_single_parent_mux_test_suite,
        &clk_uncached_test_suite
 );
+MODULE_DESCRIPTION("Kunit tests for clk framework");
 MODULE_LICENSE("GPL v2");
This page took 0.062493 seconds and 4 git commands to generate.