summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2016-01-18 17:06:05 +0100
committerSasha Levin <sasha.levin@oracle.com>2016-02-03 16:23:20 -0500
commit5d545a70cca8594f6120a9e3d70187920e62ce77 (patch)
tree4482e915785f963f31981609f0cdd37c49c82613 /crypto
parent4126014e7cd0d5e667953610139b20388910cbbd (diff)
downloadlinux-exynos-5d545a70cca8594f6120a9e3d70187920e62ce77.tar.gz
linux-exynos-5d545a70cca8594f6120a9e3d70187920e62ce77.tar.bz2
linux-exynos-5d545a70cca8594f6120a9e3d70187920e62ce77.zip
crypto: crc32c - Fix crc32c soft dependency
[ Upstream commit fd7f6727102a1ccf6b4c1dfcc631f9b546526b26 ] I don't think it makes sense for a module to have a soft dependency on itself. This seems quite cyclic by nature and I can't see what purpose it could serve. OTOH libcrc32c calls crypto_alloc_shash("crc32c", 0, 0) so it pretty much assumes that some incarnation of the "crc32c" hash algorithm has been loaded. Therefore it makes sense to have the soft dependency there (as crc-t10dif does.) Cc: stable@vger.kernel.org Cc: Tim Chen <tim.c.chen@linux.intel.com> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/crc32c_generic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/crc32c_generic.c b/crypto/crc32c_generic.c
index 06f1b60f02b2..4c0a0e271876 100644
--- a/crypto/crc32c_generic.c
+++ b/crypto/crc32c_generic.c
@@ -172,4 +172,3 @@ MODULE_DESCRIPTION("CRC32c (Castagnoli) calculations wrapper for lib/crc32c");
MODULE_LICENSE("GPL");
MODULE_ALIAS_CRYPTO("crc32c");
MODULE_ALIAS_CRYPTO("crc32c-generic");
-MODULE_SOFTDEP("pre: crc32c");