]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: s390/sha256 - rename module to sha256-s390
authorEric Biggers <ebiggers@google.com>
Thu, 29 May 2025 18:59:13 +0000 (11:59 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 May 2025 12:56:48 +0000 (20:56 +0800)
commitcddded9803cd6c4f53432cc64377d34522aa11c9
tree3649d3206438af50ccf5c326e804a83ee2a14ad9
parent0a84874c7e7dde5cdddc80a82093120e924a348b
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: b9eac03edcf8 ("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>
arch/s390/lib/crypto/Makefile