* [PATCH] testing: nvdimm: Add MODULE_DESCRIPTION() macros
@ 2024-06-12 4:47 Ira Weiny
2024-06-12 4:55 ` Jeff Johnson
0 siblings, 1 reply; 2+ messages in thread
From: Ira Weiny @ 2024-06-12 4:47 UTC (permalink / raw)
To: nvdimm
Cc: Dan Williams, Vishal Verma, Dave Jiang, linux-kernel,
Jeff Johnson, Ira Weiny
When building with W=1 the following errors are seen:
WARNING: modpost: missing MODULE_DESCRIPTION() in tools/testing/nvdimm/test/nfit_test.o
WARNING: modpost: missing MODULE_DESCRIPTION() in tools/testing/nvdimm/test/ndtest.o
Add the required MODULE_DESCRIPTION() to the test platform device
drivers.
Suggested-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
---
Jeff I'm not seeing a patch to cover these cases for the missing module
descriptions you have been sending out. If you have an outstanding
patch I missed could you point me to it? Otherwise I believe this
cleans up the nvdimm tree.
---
tools/testing/nvdimm/test/ndtest.c | 1 +
tools/testing/nvdimm/test/nfit.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/tools/testing/nvdimm/test/ndtest.c b/tools/testing/nvdimm/test/ndtest.c
index b438f3d053ee..892e990c034a 100644
--- a/tools/testing/nvdimm/test/ndtest.c
+++ b/tools/testing/nvdimm/test/ndtest.c
@@ -987,5 +987,6 @@ static __exit void ndtest_exit(void)
module_init(ndtest_init);
module_exit(ndtest_exit);
+MODULE_DESCRIPTION("Test non-NFIT devices");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("IBM Corporation");
diff --git a/tools/testing/nvdimm/test/nfit.c b/tools/testing/nvdimm/test/nfit.c
index a61df347a33d..cfd4378e2129 100644
--- a/tools/testing/nvdimm/test/nfit.c
+++ b/tools/testing/nvdimm/test/nfit.c
@@ -3382,5 +3382,6 @@ static __exit void nfit_test_exit(void)
module_init(nfit_test_init);
module_exit(nfit_test_exit);
+MODULE_DESCRIPTION("Test ACPI NFIT devices");
MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Intel Corporation");
---
base-commit: 2df0193e62cf887f373995fb8a91068562784adc
change-id: 20240611-nvdimm-test-mod-warn-8cf773360b37
Best regards,
--
Ira Weiny <ira.weiny@intel.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] testing: nvdimm: Add MODULE_DESCRIPTION() macros
2024-06-12 4:47 [PATCH] testing: nvdimm: Add MODULE_DESCRIPTION() macros Ira Weiny
@ 2024-06-12 4:55 ` Jeff Johnson
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Johnson @ 2024-06-12 4:55 UTC (permalink / raw)
To: Ira Weiny, nvdimm; +Cc: Dan Williams, Vishal Verma, Dave Jiang, linux-kernel
On 6/11/2024 9:47 PM, Ira Weiny wrote:
> When building with W=1 the following errors are seen:
>
> WARNING: modpost: missing MODULE_DESCRIPTION() in tools/testing/nvdimm/test/nfit_test.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in tools/testing/nvdimm/test/ndtest.o
>
> Add the required MODULE_DESCRIPTION() to the test platform device
> drivers.
>
> Suggested-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> Signed-off-by: Ira Weiny <ira.weiny@intel.com>
> ---
> Jeff I'm not seeing a patch to cover these cases for the missing module
> descriptions you have been sending out. If you have an outstanding
> patch I missed could you point me to it? Otherwise I believe this
> cleans up the nvdimm tree.
> ---
> tools/testing/nvdimm/test/ndtest.c | 1 +
> tools/testing/nvdimm/test/nfit.c | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/tools/testing/nvdimm/test/ndtest.c b/tools/testing/nvdimm/test/ndtest.c
> index b438f3d053ee..892e990c034a 100644
> --- a/tools/testing/nvdimm/test/ndtest.c
> +++ b/tools/testing/nvdimm/test/ndtest.c
> @@ -987,5 +987,6 @@ static __exit void ndtest_exit(void)
>
> module_init(ndtest_init);
> module_exit(ndtest_exit);
> +MODULE_DESCRIPTION("Test non-NFIT devices");
> MODULE_LICENSE("GPL");
> MODULE_AUTHOR("IBM Corporation");
> diff --git a/tools/testing/nvdimm/test/nfit.c b/tools/testing/nvdimm/test/nfit.c
> index a61df347a33d..cfd4378e2129 100644
> --- a/tools/testing/nvdimm/test/nfit.c
> +++ b/tools/testing/nvdimm/test/nfit.c
> @@ -3382,5 +3382,6 @@ static __exit void nfit_test_exit(void)
>
> module_init(nfit_test_init);
> module_exit(nfit_test_exit);
> +MODULE_DESCRIPTION("Test ACPI NFIT devices");
> MODULE_LICENSE("GPL v2");
> MODULE_AUTHOR("Intel Corporation");
>
> ---
> base-commit: 2df0193e62cf887f373995fb8a91068562784adc
> change-id: 20240611-nvdimm-test-mod-warn-8cf773360b37
>
> Best regards,
Not on my radar, so thanks for fixing!
Reviewed-by: Jeff Johnson <quic_jjohnson@quicinc.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-12 4:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-12 4:47 [PATCH] testing: nvdimm: Add MODULE_DESCRIPTION() macros Ira Weiny
2024-06-12 4:55 ` Jeff Johnson
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®