[PATCH v2] crypto: arm/xor - add missing MODULE_DESCRIPTION() macro
From: Jeff Johnson
Date: Thu Jul 11 2024 - 14:01:19 EST
With ARCH=arm and CONFIG_KERNEL_MODE_NEON=y, make W=1 C=1 reports:
WARNING: modpost: missing MODULE_DESCRIPTION() in arch/arm/lib/xor-neon.o
Add the missing invocation of the MODULE_DESCRIPTION() macro.
Signed-off-by: Jeff Johnson <quic_jjohnson@xxxxxxxxxxx>
---
Changes in v2:
- No changes to the actual patch, just rebased to current linus/master
- Hope to have these warnings fixed tree-wide in 6.11
- Link to v1: https://lore.kernel.org/r/20240622-md-arm-arch-arm-lib-v1-1-753a8885da24@xxxxxxxxxxx
---
arch/arm/lib/xor-neon.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/lib/xor-neon.c b/arch/arm/lib/xor-neon.c
index 522510baed49..cf57fca97908 100644
--- a/arch/arm/lib/xor-neon.c
+++ b/arch/arm/lib/xor-neon.c
@@ -8,6 +8,7 @@
#include <linux/raid/xor.h>
#include <linux/module.h>
+MODULE_DESCRIPTION("NEON accelerated XOR implementation");
MODULE_LICENSE("GPL");
#ifndef __ARM_NEON__
---
base-commit: 9d9a2f29aefdadc86e450308ff056017a209c755
change-id: 20240622-md-arm-arch-arm-lib-9b1fb344923c