aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/pcbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/pcbc.c')
-rw-r--r--crypto/pcbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pcbc.c b/crypto/pcbc.c
index fe704775f88f..d1b8bdfb5855 100644
--- a/crypto/pcbc.c
+++ b/crypto/pcbc.c
@@ -234,7 +234,7 @@ static struct crypto_instance *crypto_pcbc_alloc(struct rtattr **tb)
234 alg = crypto_get_attr_alg(tb, CRYPTO_ALG_TYPE_CIPHER, 234 alg = crypto_get_attr_alg(tb, CRYPTO_ALG_TYPE_CIPHER,
235 CRYPTO_ALG_TYPE_MASK); 235 CRYPTO_ALG_TYPE_MASK);
236 if (IS_ERR(alg)) 236 if (IS_ERR(alg))
237 return ERR_PTR(PTR_ERR(alg)); 237 return ERR_CAST(alg);
238 238
239 inst = crypto_alloc_instance("pcbc", alg); 239 inst = crypto_alloc_instance("pcbc", alg);
240 if (IS_ERR(inst)) 240 if (IS_ERR(inst))