aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/lrw.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/lrw.c')
-rw-r--r--crypto/lrw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/lrw.c b/crypto/lrw.c
index 621095db28b3..9d52e580d10a 100644
--- a/crypto/lrw.c
+++ b/crypto/lrw.c
@@ -241,7 +241,7 @@ static struct crypto_instance *alloc(struct rtattr **tb)
241 alg = crypto_get_attr_alg(tb, CRYPTO_ALG_TYPE_CIPHER, 241 alg = crypto_get_attr_alg(tb, CRYPTO_ALG_TYPE_CIPHER,
242 CRYPTO_ALG_TYPE_MASK); 242 CRYPTO_ALG_TYPE_MASK);
243 if (IS_ERR(alg)) 243 if (IS_ERR(alg))
244 return ERR_PTR(PTR_ERR(alg)); 244 return ERR_CAST(alg);
245 245
246 inst = crypto_alloc_instance("lrw", alg); 246 inst = crypto_alloc_instance("lrw", alg);
247 if (IS_ERR(inst)) 247 if (IS_ERR(inst))