Re: [PATCH v4 1/7] dump: Replace tswapN() -> cpu_to_dumpN()

2023-02-23 Thread Thomas Huth
On 24/02/2023 00.17, Philippe Mathieu-Daudé wrote: All uses of tswap in that file are wrong, and should be using cpu_to_dumpN, which correctly tests the endianness of the output. Suggested-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- dump/dump.c | 8 1 file

Re: [PATCH v4 1/7] dump: Replace tswapN() -> cpu_to_dumpN()

2023-02-23 Thread Richard Henderson
On 2/23/23 13:17, Philippe Mathieu-Daudé wrote: All uses of tswap in that file are wrong, and should be using cpu_to_dumpN, which correctly tests the endianness of the output. Suggested-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- dump/dump.c | 8 1 file

[PATCH v4 1/7] dump: Replace tswapN() -> cpu_to_dumpN()

2023-02-23 Thread Philippe Mathieu-Daudé
All uses of tswap in that file are wrong, and should be using cpu_to_dumpN, which correctly tests the endianness of the output. Suggested-by: Richard Henderson Signed-off-by: Philippe Mathieu-Daudé --- dump/dump.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git