rcutorture: Use 1-suffixed variable in rcu_torture_write_types() check
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 22 Aug 2022 17:02:56 +0000 (10:02 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Wed, 31 Aug 2022 12:09:22 +0000 (05:09 -0700)
This commit changes the use of gp_poll_exp to gp_poll_exp1 in the first
check in rcu_torture_write_types().  No functional effect, but consistency
is a good thing.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcutorture.c

index 029de67..71d1af9 100644 (file)
@@ -1196,7 +1196,7 @@ static void rcu_torture_write_types(void)
 
        /* Initialize synctype[] array.  If none set, take default. */
        if (!gp_cond1 && !gp_cond_exp1 && !gp_cond_full1 && !gp_cond_exp_full1 && !gp_exp1 &&
-           !gp_poll_exp && !gp_poll_exp_full1 && !gp_normal1 && !gp_poll1 && !gp_poll_full1 &&
+           !gp_poll_exp1 && !gp_poll_exp_full1 && !gp_normal1 && !gp_poll1 && !gp_poll_full1 &&
            !gp_sync1)
                gp_cond1 = gp_cond_exp1 = gp_cond_full1 = gp_cond_exp_full1 = gp_exp1 =
                           gp_poll_exp1 = gp_poll_exp_full1 = gp_normal1 = gp_poll1 =