Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: test: add missing MODULE_DESCRIPTION() macros

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>
Link: https://lore.kernel.org/r/20240602-md-clk-test-v1-1-a6afd4793337@quicinc.com
[sboyd@kernel.org: Reword header and description]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>

authored by

Jeff Johnson and committed by
Stephen Boyd
06abd441 1613e604

+6 -3
+2 -1
drivers/clk/clk-fractional-divider_test.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Kunit test for clock fractional divider 3 + * Kunit tests for clk fractional divider 4 4 */ 5 5 #include <linux/clk-provider.h> 6 6 #include <kunit/test.h> ··· 144 144 kunit_test_suites( 145 145 &clk_fd_approximation_suite 146 146 ); 147 + MODULE_DESCRIPTION("Kunit tests for clk fractional divider"); 147 148 MODULE_LICENSE("GPL");
+2 -1
drivers/clk/clk-gate_test.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Kunit test for clk gate basic type 3 + * Kunit tests for clk gate 4 4 */ 5 5 #include <linux/clk.h> 6 6 #include <linux/clk-provider.h> ··· 461 461 &clk_gate_test_hiword_suite, 462 462 &clk_gate_test_enabled_suite 463 463 ); 464 + MODULE_DESCRIPTION("Kunit tests for clk gate"); 464 465 MODULE_LICENSE("GPL v2");
+2 -1
drivers/clk/clk_test.c
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 - * Kunit test for clk rate management 3 + * Kunit tests for clk framework 4 4 */ 5 5 #include <linux/clk.h> 6 6 #include <linux/clk-provider.h> ··· 2674 2674 &clk_single_parent_mux_test_suite, 2675 2675 &clk_uncached_test_suite 2676 2676 ); 2677 + MODULE_DESCRIPTION("Kunit tests for clk framework"); 2677 2678 MODULE_LICENSE("GPL v2");