Commit cefe8ce5 authored by Dan Carpenter's avatar Dan Carpenter Committed by Frederic Weisbecker
Browse files

locktorture: Check the correct variable for allocation failure

There is a typo so this checks the wrong variable.  "chains" plural vs
"chain" singular.  We already know that "chains" is non-zero.

Fixes: 7f993623

 ("locktorture: Add call_rcu_chains module parameter")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: default avatarPaul E. McKenney <paulmck@kernel.org>
Signed-off-by: default avatarFrederic Weisbecker <frederic@kernel.org>
parent 3e9b009c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment