Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: lib/poly1305 - restore ability to remove modules

Though the module_exit functions are now no-ops, they should still be
defined, since otherwise the modules become unremovable.

Fixes: 1f81c58279c7 ("crypto: arm/poly1305 - remove redundant shash algorithm")
Fixes: f4b1a73aec5c ("crypto: arm64/poly1305 - remove redundant shash algorithm")
Fixes: 378a337ab40f ("crypto: powerpc/poly1305 - implement library instead of shash")
Fixes: 21969da642a2 ("crypto: x86/poly1305 - remove redundant shash algorithm")
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Eric Biggers and committed by
Herbert Xu
bb9c648b 8821d269

+20
+5
arch/arm/crypto/poly1305-glue.c
··· 116 116 } 117 117 arch_initcall(arm_poly1305_mod_init); 118 118 119 + static void __exit arm_poly1305_mod_exit(void) 120 + { 121 + } 122 + module_exit(arm_poly1305_mod_exit); 123 + 119 124 MODULE_DESCRIPTION("Accelerated Poly1305 transform for ARM"); 120 125 MODULE_LICENSE("GPL v2");
+5
arch/arm64/crypto/poly1305-glue.c
··· 107 107 } 108 108 arch_initcall(neon_poly1305_mod_init); 109 109 110 + static void __exit neon_poly1305_mod_exit(void) 111 + { 112 + } 113 + module_exit(neon_poly1305_mod_exit); 114 + 110 115 MODULE_DESCRIPTION("Poly1305 authenticator (ARM64 optimized)"); 111 116 MODULE_LICENSE("GPL v2");
+5
arch/powerpc/crypto/poly1305-p10-glue.c
··· 127 127 } 128 128 arch_initcall(poly1305_p10_init); 129 129 130 + static void __exit poly1305_p10_exit(void) 131 + { 132 + } 133 + module_exit(poly1305_p10_exit); 134 + 130 135 MODULE_LICENSE("GPL"); 131 136 MODULE_AUTHOR("Danny Tsen <dtsen@linux.ibm.com>"); 132 137 MODULE_DESCRIPTION("Optimized Poly1305 for P10");
+5
arch/x86/crypto/poly1305_glue.c
··· 208 208 } 209 209 arch_initcall(poly1305_simd_mod_init); 210 210 211 + static void __exit poly1305_simd_mod_exit(void) 212 + { 213 + } 214 + module_exit(poly1305_simd_mod_exit); 215 + 211 216 MODULE_LICENSE("GPL"); 212 217 MODULE_AUTHOR("Jason A. Donenfeld <Jason@zx2c4.com>"); 213 218 MODULE_DESCRIPTION("Poly1305 authenticator");