Re: [LEDE-DEV] [PATCH] uqmi: Fix for big endian arch

2018-04-07 Thread Oskari Lemmelä
at "raw-ip" Oskari On 04/07/2018 11:43 AM, Felix Fietkau wrote: On 2018-04-01 16:22, Oskari Lemmela wrote: leXX_to_cpu function messes up get_next value in big endian arch. Signed-off-by: Oskari Lemmelä Please try this libubox patch instead. It should ensure that the argument is evaluat

Re: [LEDE-DEV] [PATCH] uqmi: Fix for big endian arch

2018-04-06 Thread Oskari Lemmelä
Hi, Here is better fix for endianness issue. Tested on both ar71xx (big) and sunxi (little). Use memcpy instead of pointer casting Signed-off-by: Oskari Lemmelä --- data/gen-code.pl | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/data/gen