[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: |
Fri, 6 Mar 2020 10:53:09 +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(-)
Sorry for the delay! Normally this would not go through my tree, but
the tests/ maintainer is away on leave so I'll merge the patch.
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan
signature.asc
Description: PGP signature
- Re: [PATCH] tests: Fix a bug with count variables,
Stefan Hajnoczi <=