diff options
author | Eric Biggers <ebiggers@google.com> | 2019-02-23 11:23:23 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-02-28 09:37:35 +0300 |
commit | 41798036430015ad45137db2d4c213cd77fd0251 (patch) | |
tree | 945e4ffecc5bc9d3de53f3923337701856a89e09 /drivers/crypto/amcc/crypto4xx_trng.c | |
parent | 91e14842f8ea8dc35669bad3c3dcd72d4614e4d1 (diff) | |
download | linux-41798036430015ad45137db2d4c213cd77fd0251.tar.xz |
crypto: cavium/zip - fix collision with generic cra_driver_name
The cavium/zip implementation of the deflate compression algorithm is
incorrectly being registered under the generic driver name, which
prevents the generic implementation from being registered with the
crypto API when CONFIG_CRYPTO_DEV_CAVIUM_ZIP=y. Similarly the lzs
algorithm (which does not currently have a generic implementation...)
is incorrectly being registered as lzs-generic.
Fix the naming collision by adding a suffix "-cavium" to the
cra_driver_name of the cavium/zip algorithms.
Fixes: 640035a2dc55 ("crypto: zip - Add ThunderX ZIP driver core")
Cc: Mahipal Challa <mahipalreddy2006@gmail.com>
Cc: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/amcc/crypto4xx_trng.c')
0 files changed, 0 insertions, 0 deletions