[PATCH 0/2] tests/qtest: Avoid char arrays in more Arm tests

Peter Maydell posted 2 patches 4 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260310153334.3063224-1-peter.maydell@linaro.org
Maintainers: "Cédric Le Goater" <clg@kaod.org>, Peter Maydell <peter.maydell@linaro.org>, Steven Lee <steven_lee@aspeedtech.com>, Troy Lee <leetroy@gmail.com>, Jamin Lin <jamin_lin@aspeedtech.com>, Andrew Jeffery <andrew@codeconstruct.com.au>, Joel Stanley <joel@jms.id.au>, Fabiano Rosas <farosas@suse.de>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
tests/qtest/aspeed_gpio-test.c  | 4 ++--
tests/qtest/ast2700-gpio-test.c | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
[PATCH 0/2] tests/qtest: Avoid char arrays in more Arm tests
Posted by Peter Maydell 4 weeks ago
This patchset fixes a couple more -Wformat-overflow=2 warnings with
gcc 7.5.0. Same issue as this other series I just posted, but two
different files:

https://lore.kernel.org/qemu-devel/20260310151507.2973843-1-peter.maydell@linaro.org/

Since there's no dependency between the two sets of patches I sent
this out as a separate series rather than a v2 with those others
folded in.

thanks
-- PMM

Peter Maydell (2):
  tests/qtest/ast2700-gpio-test: Use g_strdup_printf() instead of char
    arrays
  tests/qtest/aspeed_gpio-test: Use g_strdup_printf() instead of char
    arrays

 tests/qtest/aspeed_gpio-test.c  | 4 ++--
 tests/qtest/ast2700-gpio-test.c | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

-- 
2.43.0
Re: [PATCH 0/2] tests/qtest: Avoid char arrays in more Arm tests
Posted by Fabiano Rosas 4 weeks ago
Peter Maydell <peter.maydell@linaro.org> writes:

> This patchset fixes a couple more -Wformat-overflow=2 warnings with
> gcc 7.5.0. Same issue as this other series I just posted, but two
> different files:
>
> https://lore.kernel.org/qemu-devel/20260310151507.2973843-1-peter.maydell@linaro.org/
>
> Since there's no dependency between the two sets of patches I sent
> this out as a separate series rather than a v2 with those others
> folded in.
>
> thanks
> -- PMM
>
> Peter Maydell (2):
>   tests/qtest/ast2700-gpio-test: Use g_strdup_printf() instead of char
>     arrays
>   tests/qtest/aspeed_gpio-test: Use g_strdup_printf() instead of char
>     arrays
>
>  tests/qtest/aspeed_gpio-test.c  | 4 ++--
>  tests/qtest/ast2700-gpio-test.c | 3 +--
>  2 files changed, 3 insertions(+), 4 deletions(-)

Series:

Tested-by: Fabiano Rosas <farosas@suse.de>