diff options
| author | Dan Carpenter <[email protected]> | 2023-09-28 07:06:11 +0000 |
|---|---|---|
| committer | Frederic Weisbecker <[email protected]> | 2023-10-11 13:55:26 +0000 |
| commit | cefe8ce559b5ff301f59b44f97c5c313ec30c643 (patch) | |
| tree | 424f1e304fc164af5d469d5f7abae1a8ae2b9c86 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
| parent | torture: Convert parse-console.sh to mktemp (diff) | |
| download | kernel-cefe8ce559b5ff301f59b44f97c5c313ec30c643.tar.gz kernel-cefe8ce559b5ff301f59b44f97c5c313ec30c643.zip | |
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: 7f993623e9eb ("locktorture: Add call_rcu_chains module parameter")
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Paul E. McKenney <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions
