diff options
Diffstat (limited to 'crypto/cryptomgr.c')
-rw-r--r-- | crypto/cryptomgr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/cryptomgr.c b/crypto/cryptomgr.c index c83884fec5f9..e5e3cf848d42 100644 --- a/crypto/cryptomgr.c +++ b/crypto/cryptomgr.c | |||
@@ -129,6 +129,7 @@ static int cryptomgr_schedule_probe(struct crypto_larval *larval) | |||
129 | } | 129 | } |
130 | 130 | ||
131 | notnum = 1; | 131 | notnum = 1; |
132 | p++; | ||
132 | } | 133 | } |
133 | 134 | ||
134 | len = p - name; | 135 | len = p - name; |
@@ -151,7 +152,7 @@ static int cryptomgr_schedule_probe(struct crypto_larval *larval) | |||
151 | param->tb[i + 1] = ¶m->attrs[i].attr; | 152 | param->tb[i + 1] = ¶m->attrs[i].attr; |
152 | i++; | 153 | i++; |
153 | 154 | ||
154 | if (WARN_ON(i >= CRYPTO_MAX_ATTRS)) | 155 | if (i >= CRYPTO_MAX_ATTRS) |
155 | goto err_free_param; | 156 | goto err_free_param; |
156 | 157 | ||
157 | if (*p == ')') | 158 | if (*p == ')') |