2024-05-24 23:58:44

by Jeff Johnson

[permalink] [raw]
Subject: [PATCH] of: of_test: add MODULE_DESCRIPTION()

Fix the 'make W=1' warning:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/of/of_test.o

Signed-off-by: Jeff Johnson <[email protected]>
---
drivers/of/of_test.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/of/of_test.c b/drivers/of/of_test.c
index a9301d293f01..c85a258bc6ae 100644
--- a/drivers/of/of_test.c
+++ b/drivers/of/of_test.c
@@ -54,4 +54,5 @@ static struct kunit_suite of_dtb_suite = {
kunit_test_suites(
&of_dtb_suite,
);
+MODULE_DESCRIPTION("KUnit tests for OF APIs");
MODULE_LICENSE("GPL");

---
base-commit: 07506d1011521a4a0deec1c69721c7405c40049b
change-id: 20240524-md-of-of_test-e6d483184b71



2024-05-28 17:13:49

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH] of: of_test: add MODULE_DESCRIPTION()


On Fri, 24 May 2024 16:58:26 -0700, Jeff Johnson wrote:
> Fix the 'make W=1' warning:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/of/of_test.o
>
> Signed-off-by: Jeff Johnson <[email protected]>
> ---
> drivers/of/of_test.c | 1 +
> 1 file changed, 1 insertion(+)
>

Applied, thanks!