[PATCH] of: of_test: add MODULE_DESCRIPTION()

Jeff Johnson posted 1 patch 1 year, 8 months ago
drivers/of/of_test.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] of: of_test: add MODULE_DESCRIPTION()
Posted by Jeff Johnson 1 year, 8 months ago
Fix the 'make W=1' warning:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/of/of_test.o

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
 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
Re: [PATCH] of: of_test: add MODULE_DESCRIPTION()
Posted by Rob Herring (Arm) 1 year, 8 months ago
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 <quic_jjohnson@quicinc.com>
> ---
>  drivers/of/of_test.c | 1 +
>  1 file changed, 1 insertion(+)
> 

Applied, thanks!