Re: [PATCH 6/8] qemu/bswap: Add const_le64()

2023-01-11 Thread Jonathan Cameron via
On Wed, 11 Jan 2023 17:40:46 +0100 Philippe Mathieu-Daudé wrote: > On 11/1/23 15:24, Jonathan Cameron via wrote: > > From: Ira Weiny > > > > Gcc requires constant versions of cpu_to_le* calls. > > > > Add a 64 bit version. > > > > Reviewed-by: Peter Maydell > > Signed-off-by: Ira Weiny > >

Re: [PATCH 6/8] qemu/bswap: Add const_le64()

2023-01-11 Thread Philippe Mathieu-Daudé
On 11/1/23 15:24, Jonathan Cameron via wrote: From: Ira Weiny Gcc requires constant versions of cpu_to_le* calls. Add a 64 bit version. Reviewed-by: Peter Maydell Signed-off-by: Ira Weiny Signed-off-by: Jonathan Cameron --- include/qemu/bswap.h | 10 ++ 1 file changed, 10 insert

Re: [PATCH 6/8] qemu/bswap: Add const_le64()

2023-01-11 Thread Philippe Mathieu-Daudé
On 11/1/23 17:07, Philippe Mathieu-Daudé wrote: On 11/1/23 16:49, Philippe Mathieu-Daudé wrote: On 11/1/23 15:24, Jonathan Cameron via wrote: From: Ira Weiny Gcc requires constant versions of cpu_to_le* calls. Add a 64 bit version. Reviewed-by: Peter Maydell Signed-off-by: Ira Weiny Signe

Re: [PATCH 6/8] qemu/bswap: Add const_le64()

2023-01-11 Thread Philippe Mathieu-Daudé
On 11/1/23 16:49, Philippe Mathieu-Daudé wrote: On 11/1/23 15:24, Jonathan Cameron via wrote: From: Ira Weiny Gcc requires constant versions of cpu_to_le* calls. Add a 64 bit version. Reviewed-by: Peter Maydell Signed-off-by: Ira Weiny Signed-off-by: Jonathan Cameron ---   include/qemu/bs

Re: [PATCH 6/8] qemu/bswap: Add const_le64()

2023-01-11 Thread Philippe Mathieu-Daudé
On 11/1/23 15:24, Jonathan Cameron via wrote: From: Ira Weiny Gcc requires constant versions of cpu_to_le* calls. Add a 64 bit version. Reviewed-by: Peter Maydell Signed-off-by: Ira Weiny Signed-off-by: Jonathan Cameron --- include/qemu/bswap.h | 10 ++ 1 file changed, 10 insert

[PATCH 6/8] qemu/bswap: Add const_le64()

2023-01-11 Thread Jonathan Cameron via
From: Ira Weiny Gcc requires constant versions of cpu_to_le* calls. Add a 64 bit version. Reviewed-by: Peter Maydell Signed-off-by: Ira Weiny Signed-off-by: Jonathan Cameron --- include/qemu/bswap.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/qemu/bswap.h b/inclu