aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/pcrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/pcrypt.c')
-rw-r--r--crypto/pcrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pcrypt.c b/crypto/pcrypt.c
index 794c172b99f7..55460839624e 100644
--- a/crypto/pcrypt.c
+++ b/crypto/pcrypt.c
@@ -457,7 +457,7 @@ static int __pcrypt_init_instance(struct pcrypt_instance *pcrypt,
457 if (!pcrypt->wq) 457 if (!pcrypt->wq)
458 goto err; 458 goto err;
459 459
460 pcrypt->pinst = padata_alloc(pcrypt->wq); 460 pcrypt->pinst = padata_alloc_possible(pcrypt->wq);
461 if (!pcrypt->pinst) 461 if (!pcrypt->pinst)
462 goto err_destroy_workqueue; 462 goto err_destroy_workqueue;
463 463