[PATCH] x86/mm: add testmmiotrace MODULE_DESCRIPTION()

Jeff Johnson posted 1 patch 1 year, 9 months ago
arch/x86/mm/testmmiotrace.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] x86/mm: add testmmiotrace MODULE_DESCRIPTION()
Posted by Jeff Johnson 1 year, 9 months ago
Fix the following 'make W=1' warning:

WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/mm/testmmiotrace.o

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

diff --git a/arch/x86/mm/testmmiotrace.c b/arch/x86/mm/testmmiotrace.c
index bda73cb7a044..ae295659ca14 100644
--- a/arch/x86/mm/testmmiotrace.c
+++ b/arch/x86/mm/testmmiotrace.c
@@ -144,3 +144,4 @@ static void __exit cleanup(void)
 module_init(init);
 module_exit(cleanup);
 MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("Test module for mmiotrace");

---
base-commit: 8c06da67d0bd3139a97f301b4aa9c482b9d4f29e
change-id: 20240515-testmmiotrace-md-c6050c66a517
Re: [PATCH] x86/mm: add testmmiotrace MODULE_DESCRIPTION()
Posted by Jeff Johnson 1 year, 7 months ago
On 5/15/24 17:06, Jeff Johnson wrote:
> Fix the following 'make W=1' warning:
> 
> WARNING: modpost: missing MODULE_DESCRIPTION() in arch/x86/mm/testmmiotrace.o
> 
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> ---
>   arch/x86/mm/testmmiotrace.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/x86/mm/testmmiotrace.c b/arch/x86/mm/testmmiotrace.c
> index bda73cb7a044..ae295659ca14 100644
> --- a/arch/x86/mm/testmmiotrace.c
> +++ b/arch/x86/mm/testmmiotrace.c
> @@ -144,3 +144,4 @@ static void __exit cleanup(void)
>   module_init(init);
>   module_exit(cleanup);
>   MODULE_LICENSE("GPL");
> +MODULE_DESCRIPTION("Test module for mmiotrace");
> 
> ---
> base-commit: 8c06da67d0bd3139a97f301b4aa9c482b9d4f29e
> change-id: 20240515-testmmiotrace-md-c6050c66a517

I don't see this in linux-next yet so following up to see if anything 
else is needed to get this merged.

I'm hoping to have these warnings fixed tree-wide in 6.11.

/jeff