Re: [Qemu-devel] [Qemu-ppc] [PATCH qemu] spapr: Fix fdt warnings

2019-01-16 Thread Alexey Kardashevskiy
On 16/01/2019 23:01, BALATON Zoltan wrote: > On Wed, 16 Jan 2019, Richard Henderson wrote: >> On 1/16/19 3:19 PM, Alexey Kardashevskiy wrote: >>> because TARGET_FMT_lx is defined as "%016"PRIx64. >>> >>> This uses simple "%lx" to suppress the warning. Since it is spapr which >>> is always 64bit,

Re: [Qemu-devel] [Qemu-ppc] [PATCH qemu] spapr: Fix fdt warnings

2019-01-16 Thread Greg Kurz
On Wed, 16 Jan 2019 13:01:46 +0100 (CET) BALATON Zoltan wrote: > On Wed, 16 Jan 2019, Richard Henderson wrote: > > On 1/16/19 3:19 PM, Alexey Kardashevskiy wrote: > >> because TARGET_FMT_lx is defined as "%016"PRIx64. > >> > >> This uses simple "%lx" to suppress the warning. Since it is spapr w

Re: [Qemu-devel] [Qemu-ppc] [PATCH qemu] spapr: Fix fdt warnings

2019-01-16 Thread BALATON Zoltan
On Wed, 16 Jan 2019, Richard Henderson wrote: On 1/16/19 3:19 PM, Alexey Kardashevskiy wrote: because TARGET_FMT_lx is defined as "%016"PRIx64. This uses simple "%lx" to suppress the warning. Since it is spapr which is always 64bit, we assume here that hwaddr is always "long". This file is no