[PATCH] lib/test_linear_ranges: add missing MODULE_DESCRIPTION() macro

Jeff Johnson posted 1 patch 1 year, 8 months ago
lib/test_linear_ranges.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] lib/test_linear_ranges: add missing MODULE_DESCRIPTION() macro
Posted by Jeff Johnson 1 year, 8 months ago
make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_linear_ranges.o

Add the missing invocation of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
 lib/test_linear_ranges.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/test_linear_ranges.c b/lib/test_linear_ranges.c
index c18f9c0f1f25..f482be00f1bc 100644
--- a/lib/test_linear_ranges.c
+++ b/lib/test_linear_ranges.c
@@ -216,4 +216,5 @@ static struct kunit_suite range_test_module = {
 
 kunit_test_suites(&range_test_module);
 
+MODULE_DESCRIPTION("KUnit test for the linear_ranges helper");
 MODULE_LICENSE("GPL");

---
base-commit: b050496579632f86ee1ef7e7501906db579f3457
change-id: 20240531-md-lib-test_linear_ranges-6807dcb18e7e
Re: [PATCH] lib/test_linear_ranges: add missing MODULE_DESCRIPTION() macro
Posted by Matti Vaittinen 1 year, 8 months ago
On 6/1/24 02:45, Jeff Johnson wrote:
> make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/test_linear_ranges.o
> 
> Add the missing invocation of the MODULE_DESCRIPTION() macro.
> 
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>

Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>

Thanks!

> ---
>   lib/test_linear_ranges.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/lib/test_linear_ranges.c b/lib/test_linear_ranges.c
> index c18f9c0f1f25..f482be00f1bc 100644
> --- a/lib/test_linear_ranges.c
> +++ b/lib/test_linear_ranges.c
> @@ -216,4 +216,5 @@ static struct kunit_suite range_test_module = {
>   
>   kunit_test_suites(&range_test_module);
>   
> +MODULE_DESCRIPTION("KUnit test for the linear_ranges helper");
>   MODULE_LICENSE("GPL");
> 
> ---
> base-commit: b050496579632f86ee1ef7e7501906db579f3457
> change-id: 20240531-md-lib-test_linear_ranges-6807dcb18e7e
> 

-- 
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland

~~ When things go utterly wrong vim users can always type :help! ~~