Skip to content

Commit

Permalink
crypto: sahara - tfm->__crt_alg->cra_name directly
Browse files Browse the repository at this point in the history
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Marek Vasut authored and Herbert Xu committed May 22, 2014
1 parent 1f4fe5a commit efa59e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/crypto/sahara.c
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ static int sahara_aes_cbc_decrypt(struct ablkcipher_request *req)

static int sahara_aes_cra_init(struct crypto_tfm *tfm)
{
const char *name = tfm->__crt_alg->cra_name;
const char *name = crypto_tfm_alg_name(tfm);
struct sahara_ctx *ctx = crypto_tfm_ctx(tfm);

ctx->fallback = crypto_alloc_ablkcipher(name, 0,
Expand Down

0 comments on commit efa59e2

Please sign in to comment.