Re: [PATCH 1/2] lib/string_helpers: Introduce strsplit_u32()

From: Andy Shevchenko
Date: Fri Jul 08 2022 - 11:29:25 EST


On Fri, Jul 8, 2022 at 5:25 PM Andy Shevchenko
<andy.shevchenko@xxxxxxxxx> wrote:
> On Fri, Jul 8, 2022 at 2:34 PM Péter Ujfalusi
> <peter.ujfalusi@xxxxxxxxxxxxxxx> wrote:

...

> (it may be casted to struct tokens { int n; u32 v[]; })

On second thought it is better not to do this (it will work on x86,
but in general it may be surprising on BE-64).

--
With Best Regards,
Andy Shevchenko