Re: [patch -next] rcu: off by one in gp_state_getname()

2015-11-20 Thread Paul E. McKenney
On Fri, Nov 20, 2015 at 01:30:14PM +0300, Dan Carpenter wrote: > Heh. It's just "Dan" though, it's not short for anything. Apologies, fixed! Thanx, Paul -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [patch -next] rcu: off by one in gp_state_getname()

2015-11-20 Thread Dan Carpenter
Heh. It's just "Dan" though, it's not short for anything. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

Re: [patch -next] rcu: off by one in gp_state_getname()

2015-11-20 Thread Dan Carpenter
Heh. It's just "Dan" though, it's not short for anything. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

Re: [patch -next] rcu: off by one in gp_state_getname()

2015-11-20 Thread Paul E. McKenney
On Fri, Nov 20, 2015 at 01:30:14PM +0300, Dan Carpenter wrote: > Heh. It's just "Dan" though, it's not short for anything. Apologies, fixed! Thanx, Paul -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [patch -next] rcu: off by one in gp_state_getname()

2015-11-19 Thread Paul E. McKenney
On Thu, Nov 19, 2015 at 10:34:09PM +0300, Dan Carpenter wrote: > It should be >= ARRAY_SIZE() instead of > ARRAY_SIZE(). > > Fixes: 6231da675578 ('rcu: Print symbolic name for ->gp_state') > Signed-off-by: Dan Carpenter Good catch! I folded this into the original commit with attribution,

[patch -next] rcu: off by one in gp_state_getname()

2015-11-19 Thread Dan Carpenter
It should be >= ARRAY_SIZE() instead of > ARRAY_SIZE(). Fixes: 6231da675578 ('rcu: Print symbolic name for ->gp_state') Signed-off-by: Dan Carpenter diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 6a5e1c4..6559b3c 100644 --- a/kernel/rcu/tree.c +++ b/kernel/rcu/tree.c @@ -1203,7

[patch -next] rcu: off by one in gp_state_getname()

2015-11-19 Thread Dan Carpenter
It should be >= ARRAY_SIZE() instead of > ARRAY_SIZE(). Fixes: 6231da675578 ('rcu: Print symbolic name for ->gp_state') Signed-off-by: Dan Carpenter diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c index 6a5e1c4..6559b3c 100644 --- a/kernel/rcu/tree.c +++

Re: [patch -next] rcu: off by one in gp_state_getname()

2015-11-19 Thread Paul E. McKenney
On Thu, Nov 19, 2015 at 10:34:09PM +0300, Dan Carpenter wrote: > It should be >= ARRAY_SIZE() instead of > ARRAY_SIZE(). > > Fixes: 6231da675578 ('rcu: Print symbolic name for ->gp_state') > Signed-off-by: Dan Carpenter Good catch! I folded this into the original