* [PATCH] hwrng: omap - add missing MODULE_DESCRIPTION() macro
@ 2024-06-03 14:55 Jeff Johnson
2024-06-07 12:01 ` Herbert Xu
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Johnson @ 2024-06-03 14:55 UTC (permalink / raw)
To: Deepak Saxena, Olivia Mackall, Herbert Xu
Cc: linux-crypto, linux-kernel, kernel-janitors, Jeff Johnson
make allmodconfig && make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/char/hw_random/omap-rng.o
WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/char/hw_random/omap3-rom-rng.o
Add the missing invocation of the MODULE_DESCRIPTION() macro.
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
drivers/char/hw_random/omap-rng.c | 1 +
drivers/char/hw_random/omap3-rom-rng.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/drivers/char/hw_random/omap-rng.c b/drivers/char/hw_random/omap-rng.c
index d4c02e900466..4914a8720e58 100644
--- a/drivers/char/hw_random/omap-rng.c
+++ b/drivers/char/hw_random/omap-rng.c
@@ -564,4 +564,5 @@ static struct platform_driver omap_rng_driver = {
module_platform_driver(omap_rng_driver);
MODULE_ALIAS("platform:omap_rng");
MODULE_AUTHOR("Deepak Saxena (and others)");
+MODULE_DESCRIPTION("RNG driver for TI OMAP CPU family");
MODULE_LICENSE("GPL");
diff --git a/drivers/char/hw_random/omap3-rom-rng.c b/drivers/char/hw_random/omap3-rom-rng.c
index 18dc46b1b58e..8064c792caf0 100644
--- a/drivers/char/hw_random/omap3-rom-rng.c
+++ b/drivers/char/hw_random/omap3-rom-rng.c
@@ -178,4 +178,5 @@ module_platform_driver(omap3_rom_rng_driver);
MODULE_ALIAS("platform:omap3-rom-rng");
MODULE_AUTHOR("Juha Yrjola");
MODULE_AUTHOR("Pali Rohár <pali@kernel.org>");
+MODULE_DESCRIPTION("RNG driver for TI OMAP3 CPU family");
MODULE_LICENSE("GPL");
---
base-commit: a693b9c95abd4947c2d06e05733de5d470ab6586
change-id: 20240603-md-hw_random-omap-4dc06fb76dc4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] hwrng: omap - add missing MODULE_DESCRIPTION() macro
2024-06-03 14:55 [PATCH] hwrng: omap - add missing MODULE_DESCRIPTION() macro Jeff Johnson
@ 2024-06-07 12:01 ` Herbert Xu
0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2024-06-07 12:01 UTC (permalink / raw)
To: Jeff Johnson
Cc: Deepak Saxena, Olivia Mackall, linux-crypto, linux-kernel,
kernel-janitors
On Mon, Jun 03, 2024 at 07:55:39AM -0700, Jeff Johnson wrote:
> make allmodconfig && make W=1 C=1 reports:
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/char/hw_random/omap-rng.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/char/hw_random/omap3-rom-rng.o
>
> Add the missing invocation of the MODULE_DESCRIPTION() macro.
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> ---
> drivers/char/hw_random/omap-rng.c | 1 +
> drivers/char/hw_random/omap3-rom-rng.c | 1 +
> 2 files changed, 2 insertions(+)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-07 12:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-03 14:55 [PATCH] hwrng: omap - add missing MODULE_DESCRIPTION() macro Jeff Johnson
2024-06-07 12:01 ` Herbert Xu
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®