From dc834e3b245da2385283c5876c5e1039f7e85b21 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Fri, 28 Sep 2007 09:06:11 +0800 Subject: [PATCH] --- yaml --- r: 67029 b: refs/heads/master c: 720a650f8ab3166d32fc5da64961e8d2158b9452 h: refs/heads/master i: 67027: 991d2f84256a50f00c16e5aed4d97e47736c79c2 v: v3 --- [refs] | 2 +- trunk/crypto/cryptomgr.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index b088928421a2..ccaf3e54ebc5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f19f5111c94053ba4931892f5c01c806de33942e +refs/heads/master: 720a650f8ab3166d32fc5da64961e8d2158b9452 diff --git a/trunk/crypto/cryptomgr.c b/trunk/crypto/cryptomgr.c index c83884fec5f9..e5e3cf848d42 100644 --- a/trunk/crypto/cryptomgr.c +++ b/trunk/crypto/cryptomgr.c @@ -129,6 +129,7 @@ static int cryptomgr_schedule_probe(struct crypto_larval *larval) } notnum = 1; + p++; } len = p - name; @@ -151,7 +152,7 @@ static int cryptomgr_schedule_probe(struct crypto_larval *larval) param->tb[i + 1] = ¶m->attrs[i].attr; i++; - if (WARN_ON(i >= CRYPTO_MAX_ATTRS)) + if (i >= CRYPTO_MAX_ATTRS) goto err_free_param; if (*p == ')')