2024-05-17 00:15:24

by Jeff Johnson

[permalink] [raw]
Subject: [PATCH] block: t10-pi: add MODULE_DESCRIPTION()

Fix the allmodconfig 'make W=1' issue:

WARNING: modpost: missing MODULE_DESCRIPTION() in block/t10-pi.o

Signed-off-by: Jeff Johnson <[email protected]>
---
block/t10-pi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/block/t10-pi.c b/block/t10-pi.c
index d90892fd6f2a..f4cc91156da1 100644
--- a/block/t10-pi.c
+++ b/block/t10-pi.c
@@ -495,5 +495,5 @@ const struct blk_integrity_profile ext_pi_type3_crc64 = {
};
EXPORT_SYMBOL_GPL(ext_pi_type3_crc64);

-MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("T10 Protection Information module");
MODULE_LICENSE("GPL");

---
base-commit: 8c06da67d0bd3139a97f301b4aa9c482b9d4f29e
change-id: 20240516-md-t10-pi-3f34345f0bd1



2024-05-20 11:49:32

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH] block: t10-pi: add MODULE_DESCRIPTION()


Jeff,

> @@ -495,5 +495,5 @@ const struct blk_integrity_profile ext_pi_type3_crc64 = {
> };
> EXPORT_SYMBOL_GPL(ext_pi_type3_crc64);
>
> -MODULE_LICENSE("GPL");
> +MODULE_DESCRIPTION("T10 Protection Information module");
> MODULE_LICENSE("GPL");

That's fine.

Reviewed-by: Martin K. Petersen <[email protected]>

--
Martin K. Petersen Oracle Linux Engineering

2024-05-20 14:08:16

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] block: t10-pi: add MODULE_DESCRIPTION()


On Thu, 16 May 2024 17:15:06 -0700, Jeff Johnson wrote:
> Fix the allmodconfig 'make W=1' issue:
>
> WARNING: modpost: missing MODULE_DESCRIPTION() in block/t10-pi.o
>
>

Applied, thanks!

[1/1] block: t10-pi: add MODULE_DESCRIPTION()
commit: f0eab3e8d1530b87f3523cee060004dd513a6d2b

Best regards,
--
Jens Axboe