mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] lib/test_linear_ranges: add missing MODULE_DESCRIPTION() macro
@ 2024-05-31 23:45 Jeff Johnson
  2024-06-03  5:17 ` Matti Vaittinen
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Johnson @ 2024-05-31 23:45 UTC (permalink / raw)
  To: Andrew Morton, Mark Brown, Matti Vaittinen
  Cc: linux-kernel, kernel-janitors, Jeff Johnson

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] lib/test_linear_ranges: add missing MODULE_DESCRIPTION() macro
  2024-05-31 23:45 [PATCH] lib/test_linear_ranges: add missing MODULE_DESCRIPTION() macro Jeff Johnson
@ 2024-06-03  5:17 ` Matti Vaittinen
  0 siblings, 0 replies; 2+ messages in thread
From: Matti Vaittinen @ 2024-06-03  5:17 UTC (permalink / raw)
  To: Jeff Johnson, Andrew Morton, Mark Brown; +Cc: linux-kernel, kernel-janitors

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! ~~


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-03  5:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-31 23:45 [PATCH] lib/test_linear_ranges: add missing MODULE_DESCRIPTION() macro Jeff Johnson
2024-06-03  5:17 ` Matti Vaittinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®