qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tests: Fix a bug with count variables


From: Tianjia Zhang
Subject: Re: [PATCH] tests: Fix a bug with count variables
Date: Fri, 6 Mar 2020 19:44:15 +0800
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0



On 2020/3/6 18:53, Stefan Hajnoczi wrote:
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


Thanks and Best,
Tianjia



reply via email to

[Prev in Thread] Current Thread [Next in Thread]