summaryrefslogtreecommitdiffstats
path: root/crypto/userspace/ncr-limits.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/userspace/ncr-limits.c')
-rw-r--r--crypto/userspace/ncr-limits.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/userspace/ncr-limits.c b/crypto/userspace/ncr-limits.c
index bbcd1e95e6e..a1ad7e36411 100644
--- a/crypto/userspace/ncr-limits.c
+++ b/crypto/userspace/ncr-limits.c
@@ -148,7 +148,7 @@ int ret;
if (add) {
pitem = kmalloc(sizeof(*pitem), GFP_KERNEL);
- if (uitem == NULL) {
+ if (pitem == NULL) {
err();
up(&limits.processes.sem);
ret = -ENOMEM;