diff mbox series

clk: test: add missing MODULE_DESCRIPTION() macros

Message ID 20240602-md-clk-test-v1-1-a6afd4793337@quicinc.com (mailing list archive)
State Accepted, archived
Headers show
Series clk: test: add missing MODULE_DESCRIPTION() macros | expand

Commit Message

Jeff Johnson June 2, 2024, 3:38 p.m. UTC
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 <quic_jjohnson@quicinc.com>
---
 drivers/clk/clk-fractional-divider_test.c | 1 +
 drivers/clk/clk-gate_test.c               | 1 +
 drivers/clk/clk_test.c                    | 1 +
 3 files changed, 3 insertions(+)


---
base-commit: 83814698cf48ce3aadc5d88a3f577f04482ff92a
change-id: 20240602-md-clk-test-13648d1b0380

Comments

Stephen Boyd June 3, 2024, 10:47 p.m. UTC | #1
Quoting Jeff Johnson (2024-06-02 08:38:33)
> 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 <quic_jjohnson@quicinc.com>
> ---

Applied to clk-next
diff mbox series

Patch

diff --git a/drivers/clk/clk-fractional-divider_test.c b/drivers/clk/clk-fractional-divider_test.c
index 929eec927548..1028e2002074 100644
--- a/drivers/clk/clk-fractional-divider_test.c
+++ b/drivers/clk/clk-fractional-divider_test.c
@@ -144,4 +144,5 @@  static struct kunit_suite clk_fd_approximation_suite = {
 kunit_test_suites(
 	&clk_fd_approximation_suite
 );
+MODULE_DESCRIPTION("Kunit test for clock fractional divider");
 MODULE_LICENSE("GPL");
diff --git a/drivers/clk/clk-gate_test.c b/drivers/clk/clk-gate_test.c
index c96d93b19ddf..e4ddad532ff1 100644
--- a/drivers/clk/clk-gate_test.c
+++ b/drivers/clk/clk-gate_test.c
@@ -461,4 +461,5 @@  kunit_test_suites(
 	&clk_gate_test_hiword_suite,
 	&clk_gate_test_enabled_suite
 );
+MODULE_DESCRIPTION("Kunit test for clk gate basic type");
 MODULE_LICENSE("GPL v2");
diff --git a/drivers/clk/clk_test.c b/drivers/clk/clk_test.c
index 39e2b5ff4f51..b17147a4a257 100644
--- a/drivers/clk/clk_test.c
+++ b/drivers/clk/clk_test.c
@@ -2674,4 +2674,5 @@  kunit_test_suites(
 	&clk_single_parent_mux_test_suite,
 	&clk_uncached_test_suite
 );
+MODULE_DESCRIPTION("Kunit test for clk rate management");
 MODULE_LICENSE("GPL v2");