linux-security-module.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] KEYS: trusted: add MODULE_DESCRIPTION()
@ 2024-05-30  1:02 Jeff Johnson
  2024-05-30  5:39 ` Jarkko Sakkinen
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Johnson @ 2024-05-30  1:02 UTC (permalink / raw)
  To: James Bottomley, Jarkko Sakkinen, Mimi Zohar, David Howells,
	Paul Moore, James Morris, Serge E. Hallyn
  Cc: linux-integrity, keyrings, linux-security-module, linux-kernel,
	kernel-janitors, Jeff Johnson

Fix the 'make W=1' warning:
WARNING: modpost: missing MODULE_DESCRIPTION() in security/keys/trusted-keys/trusted.o

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
 security/keys/trusted-keys/trusted_core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/security/keys/trusted-keys/trusted_core.c b/security/keys/trusted-keys/trusted_core.c
index 5113aeae5628..f4ab16d59663 100644
--- a/security/keys/trusted-keys/trusted_core.c
+++ b/security/keys/trusted-keys/trusted_core.c
@@ -395,4 +395,5 @@ static void __exit cleanup_trusted(void)
 late_initcall(init_trusted);
 module_exit(cleanup_trusted);
 
+MODULE_DESCRIPTION("Trusted Key support");
 MODULE_LICENSE("GPL");

---
base-commit: 4a4be1ad3a6efea16c56615f31117590fd881358
change-id: 20240529-md-trusted-6e6fd26299ad


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

* Re: [PATCH] KEYS: trusted: add MODULE_DESCRIPTION()
  2024-05-30  1:02 [PATCH] KEYS: trusted: add MODULE_DESCRIPTION() Jeff Johnson
@ 2024-05-30  5:39 ` Jarkko Sakkinen
  2024-05-30 14:07   ` Jeff Johnson
  0 siblings, 1 reply; 3+ messages in thread
From: Jarkko Sakkinen @ 2024-05-30  5:39 UTC (permalink / raw)
  To: Jeff Johnson, James Bottomley, Mimi Zohar, David Howells,
	Paul Moore, James Morris, Serge E. Hallyn
  Cc: linux-integrity, keyrings, linux-security-module, linux-kernel,
	kernel-janitors

On Thu May 30, 2024 at 4:02 AM EEST, Jeff Johnson wrote:
> Fix the 'make W=1' warning:
> WARNING: modpost: missing MODULE_DESCRIPTION() in security/keys/trusted-keys/trusted.o

Maybe instead:

"""
KEYS: trusted: Add the missing MODULE_DESCRIPTION()

kbuild reports:

WARNING: modpost: missing MODULE_DESCRIPTION() in security/keys/trusted-keys/trusted.o

Add the missing MODULE_DESCRIPTION() macro invocation.
"""

BR, Jarkko

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

* Re: [PATCH] KEYS: trusted: add MODULE_DESCRIPTION()
  2024-05-30  5:39 ` Jarkko Sakkinen
@ 2024-05-30 14:07   ` Jeff Johnson
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Johnson @ 2024-05-30 14:07 UTC (permalink / raw)
  To: Jarkko Sakkinen, James Bottomley, Mimi Zohar, David Howells,
	Paul Moore, James Morris, Serge E. Hallyn
  Cc: linux-integrity, keyrings, linux-security-module, linux-kernel,
	kernel-janitors

On 5/29/2024 10:39 PM, Jarkko Sakkinen wrote:
> On Thu May 30, 2024 at 4:02 AM EEST, Jeff Johnson wrote:
>> Fix the 'make W=1' warning:
>> WARNING: modpost: missing MODULE_DESCRIPTION() in security/keys/trusted-keys/trusted.o
> 
> Maybe instead:
> 
> """
> KEYS: trusted: Add the missing MODULE_DESCRIPTION()
> 
> kbuild reports:
> 
> WARNING: modpost: missing MODULE_DESCRIPTION() in security/keys/trusted-keys/trusted.o
> 
> Add the missing MODULE_DESCRIPTION() macro invocation.

Can do, v2 coming...



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

end of thread, other threads:[~2024-05-30 14:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-30  1:02 [PATCH] KEYS: trusted: add MODULE_DESCRIPTION() Jeff Johnson
2024-05-30  5:39 ` Jarkko Sakkinen
2024-05-30 14:07   ` Jeff Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).