diff options
| author | Kunwu Chan <kunwu.chan@gmail.com> | 2026-09-14 17:34:18 +0800 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@kernel.org> | 2026-10-01 17:21:07 -0700 |
| commit | 7743179aaa22b6ecb499dbb7fdb4207c8fce6f3e (patch) | |
| tree | cbc6c8553abd91a78b336f0cd8b3ae018b2b6dfb /kernel | |
| parent | f07c9df1b55ca1f23aa0c69de79b02313c4db47e (diff) | |
| download | linux-next-7743179aaa22b6ecb499dbb7fdb4207c8fce6f3e.tar.gz linux-next-7743179aaa22b6ecb499dbb7fdb4207c8fce6f3e.zip | |
selftests/rcutorture: Fix double nerrs count in srcu_lockdep.sh
When CONFIG_PROVE_LOCKING is missing, the deadlock-detection loop
and the mixed-SRCU-readers section each increment nerrs once in
the configuration check and again in the common error path,
counting the same error twice.
Remove the stray increments so that each error advances nerrs
by one.
Signed-off-by: Kunwu Chan <kunwu.chan@gmail.com>
Acked-by: Boqun Feng <boqun@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
