Skip to content

Commit cddded9

Browse files
ebiggersherbertx
authored andcommitted
crypto: s390/sha256 - rename module to sha256-s390
When the s390 SHA-256 code is built as a loadable module, name it sha256-s390.ko instead of sha256.ko. This avoids a module name collision with crypto/sha256.ko and makes it consistent with the other architectures. We should consider making a single module provide all the SHA-256 library code, which would prevent issues like this. But for now this is the fix that's needed. Fixes: b9eac03 ("crypto: s390/sha256 - implement library instead of shash") Reported-by: Alex Williamson <alex.williamson@redhat.com> Closes: https://lore.kernel.org/r/20250529110526.6d2959a9.alex.williamson@redhat.com/ Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 0a84874 commit cddded9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/s390/lib/crypto/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
obj-$(CONFIG_CRYPTO_CHACHA_S390) += chacha_s390.o
44
chacha_s390-y := chacha-glue.o chacha-s390.o
55

6-
obj-$(CONFIG_CRYPTO_SHA256_S390) += sha256.o
6+
obj-$(CONFIG_CRYPTO_SHA256_S390) += sha256-s390.o
7+
sha256-s390-y := sha256.o

0 commit comments

Comments
 (0)