[PATCH v2] crypto: arm/xor - add missing MODULE_DESCRIPTION() macro

Jeff Johnson quic_jjohnson at quicinc.com
Thu Jul 11 10:52:13 PDT 2024


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 at quicinc.com>
---
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@quicinc.com
---
 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




More information about the linux-arm-kernel mailing list