Skip to content

Commit 06abd44

Browse files
Jeff Johnsonbebarino
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] [[email protected]: Reword header and description] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 1613e60 commit 06abd44

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

drivers/clk/clk-fractional-divider_test.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/*
3-
* Kunit test for clock fractional divider
3+
* Kunit tests for clk fractional divider
44
*/
55
#include <linux/clk-provider.h>
66
#include <kunit/test.h>
@@ -144,4 +144,5 @@ static struct kunit_suite clk_fd_approximation_suite = {
144144
kunit_test_suites(
145145
&clk_fd_approximation_suite
146146
);
147+
MODULE_DESCRIPTION("Kunit tests for clk fractional divider");
147148
MODULE_LICENSE("GPL");

drivers/clk/clk-gate_test.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/*
3-
* Kunit test for clk gate basic type
3+
* Kunit tests for clk gate
44
*/
55
#include <linux/clk.h>
66
#include <linux/clk-provider.h>
@@ -461,4 +461,5 @@ kunit_test_suites(
461461
&clk_gate_test_hiword_suite,
462462
&clk_gate_test_enabled_suite
463463
);
464+
MODULE_DESCRIPTION("Kunit tests for clk gate");
464465
MODULE_LICENSE("GPL v2");

drivers/clk/clk_test.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: GPL-2.0
22
/*
3-
* Kunit test for clk rate management
3+
* Kunit tests for clk framework
44
*/
55
#include <linux/clk.h>
66
#include <linux/clk-provider.h>
@@ -2674,4 +2674,5 @@ kunit_test_suites(
26742674
&clk_single_parent_mux_test_suite,
26752675
&clk_uncached_test_suite
26762676
);
2677+
MODULE_DESCRIPTION("Kunit tests for clk framework");
26772678
MODULE_LICENSE("GPL v2");

0 commit comments

Comments
 (0)