[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] tests: Fix a bug with count variables
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH] tests: Fix a bug with count variables |
Date: |
Wed, 12 Feb 2020 13:59:37 +0000 |
On Fri, Feb 07, 2020 at 07:54:33PM +0800, Tianjia Zhang wrote:
> The counting code here should use the local variable n_nodes_local.
> Otherwise, the variable n_nodes is counting incorrectly, causing the
> counting logic of the code to be wrong.
>
> Signed-off-by: Tianjia Zhang <address@hidden>
> ---
> tests/test-rcu-list.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature