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 <[email protected]>
---
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
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 <[email protected]>
Reviewed-by: Matti Vaittinen <[email protected]>
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! ~~