Re: [PATCH] tests: Fix printf format string in acpi-utils.c

2023-11-06 Thread Michael S. Tsirkin
On Thu, Oct 26, 2023 at 08:09:30PM -0700, zhujun2 wrote: > Inside of acpi_fetch_table() arguments are > printed via fprintf but '%d' is used to print @flags (of type > uint). Use '%u' instead. > > Signed-off-by: zhujun2 OK though I never expect this to matter. > --- > tests/qtest/acpi-utils.c

Re: [PATCH] tests: Fix printf format string in acpi-utils.c

2023-10-27 Thread Markus Armbruster
zhujun2 writes: > Inside of acpi_fetch_table() arguments are > printed via fprintf but '%d' is used to print @flags (of type > uint). Use '%u' instead. > > Signed-off-by: zhujun2 Please sign off with your real name. You should be able to automate this by putting [user] email =

[PATCH] tests: Fix printf format string in acpi-utils.c

2023-10-27 Thread zhujun2
Inside of acpi_fetch_table() arguments are printed via fprintf but '%d' is used to print @flags (of type uint). Use '%u' instead. Signed-off-by: zhujun2 --- tests/qtest/acpi-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qtest/acpi-utils.c b/tests/qtest/acpi-ut

Re: [PATCH] tests: Fix printf format string in acpi-utils.c

2023-10-27 Thread Thomas Huth
On 27/10/2023 05.09, zhujun2 wrote: Inside of acpi_fetch_table() arguments are printed via fprintf but '%d' is used to print @flags (of type uint). Use '%u' instead. Signed-off-by: zhujun2 ^-- Could you please use the proper spelling of your name here

Re: [PATCH] tests: Fix printf format string in acpi-utils.c

2023-10-26 Thread Ani Sinha
> On 27-Oct-2023, at 8:39 AM, zhujun2 wrote: > > Inside of acpi_fetch_table() arguments are > printed via fprintf but '%d' is used to print @flags (of type > uint). Use '%u' instead. > > Signed-off-by: zhujun2 Reviewed-by: Ani Sinha > --- > tests/qtest/acpi-utils.c | 2 +- > 1 file changed