public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] locking/ww_mutex/test: add MODULE_DESCRIPTION()
@ 2024-05-28 20:16 Jeff Johnson
  2024-05-28 20:56 ` Boqun Feng
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Johnson @ 2024-05-28 20:16 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Will Deacon, Waiman Long, Boqun Feng
  Cc: linux-kernel, kernel-janitors, Jeff Johnson

Fix the 'make W=1' warning:
WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
Changes in v2:
- Moved the MODULE_DESCRIPTION() after MODULE_AUTHOR()
- Link to v1: https://lore.kernel.org/r/20240524-md-test-ww_mutex-v1-1-4fb8c106fe21@quicinc.com
---
 kernel/locking/test-ww_mutex.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/locking/test-ww_mutex.c b/kernel/locking/test-ww_mutex.c
index 78719e1ef1b1..10a5736a21c2 100644
--- a/kernel/locking/test-ww_mutex.c
+++ b/kernel/locking/test-ww_mutex.c
@@ -697,3 +697,4 @@ module_exit(test_ww_mutex_exit);
 
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Intel Corporation");
+MODULE_DESCRIPTION("API test facility for ww_mutexes");

---
base-commit: 07506d1011521a4a0deec1c69721c7405c40049b
change-id: 20240524-md-test-ww_mutex-c18c263bc483


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

* Re: [PATCH v2] locking/ww_mutex/test: add MODULE_DESCRIPTION()
  2024-05-28 20:16 [PATCH v2] locking/ww_mutex/test: add MODULE_DESCRIPTION() Jeff Johnson
@ 2024-05-28 20:56 ` Boqun Feng
  2024-07-11 18:28   ` Jeff Johnson
  0 siblings, 1 reply; 3+ messages in thread
From: Boqun Feng @ 2024-05-28 20:56 UTC (permalink / raw)
  To: Jeff Johnson
  Cc: Peter Zijlstra, Ingo Molnar, Will Deacon, Waiman Long,
	linux-kernel, kernel-janitors

On Tue, May 28, 2024 at 01:16:24PM -0700, Jeff Johnson wrote:
> Fix the 'make W=1' warning:
> WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o
> 
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> ---
> Changes in v2:
> - Moved the MODULE_DESCRIPTION() after MODULE_AUTHOR()

Thanks!

Reviewed-by: Boqun Feng <boqun.feng@gmail.com>

Regards,
Boqun


> - Link to v1: https://lore.kernel.org/r/20240524-md-test-ww_mutex-v1-1-4fb8c106fe21@quicinc.com
> ---
>  kernel/locking/test-ww_mutex.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/kernel/locking/test-ww_mutex.c b/kernel/locking/test-ww_mutex.c
> index 78719e1ef1b1..10a5736a21c2 100644
> --- a/kernel/locking/test-ww_mutex.c
> +++ b/kernel/locking/test-ww_mutex.c
> @@ -697,3 +697,4 @@ module_exit(test_ww_mutex_exit);
>  
>  MODULE_LICENSE("GPL");
>  MODULE_AUTHOR("Intel Corporation");
> +MODULE_DESCRIPTION("API test facility for ww_mutexes");
> 
> ---
> base-commit: 07506d1011521a4a0deec1c69721c7405c40049b
> change-id: 20240524-md-test-ww_mutex-c18c263bc483
> 

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

* Re: [PATCH v2] locking/ww_mutex/test: add MODULE_DESCRIPTION()
  2024-05-28 20:56 ` Boqun Feng
@ 2024-07-11 18:28   ` Jeff Johnson
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Johnson @ 2024-07-11 18:28 UTC (permalink / raw)
  To: Boqun Feng
  Cc: Peter Zijlstra, Ingo Molnar, Will Deacon, Waiman Long,
	linux-kernel, kernel-janitors

On 5/28/24 13:56, Boqun Feng wrote:
> On Tue, May 28, 2024 at 01:16:24PM -0700, Jeff Johnson wrote:
>> Fix the 'make W=1' warning:
>> WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/locking/test-ww_mutex.o
>>
>> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
>> ---
>> Changes in v2:
>> - Moved the MODULE_DESCRIPTION() after MODULE_AUTHOR()
> 
> Thanks!
> 
> Reviewed-by: Boqun Feng <boqun.feng@gmail.com>
> 
> Regards,
> Boqun

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

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

end of thread, other threads:[~2024-07-11 18:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-28 20:16 [PATCH v2] locking/ww_mutex/test: add MODULE_DESCRIPTION() Jeff Johnson
2024-05-28 20:56 ` Boqun Feng
2024-07-11 18:28   ` Jeff Johnson

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