|
From: | Thomas Huth |
Subject: | Re: [PATCH] m48t59-test: remove shadowed variables and cleanup |
Date: | Mon, 25 Sep 2023 17:09:13 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 25/09/2023 16.47, Paolo Bonzini wrote:
Rename the variable "s" and, while at it, avoid the chance of an overflow in the computation of ABS(t - s). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> --- tests/qtest/m48t59-test.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-)
I've got a patch for this in my pull request from today already: 20230925090100.45632-4-thuth@redhat.com">https://lore.kernel.org/qemu-devel/20230925090100.45632-4-thuth@redhat.com Thomas
[Prev in Thread] | Current Thread | [Next in Thread] |