Re: [PATCH v2] rust: Use `ffi::c_char` type in firmware abstraction `FwFunc`

From: Miguel Ojeda
Date: Sun Apr 13 2025 - 11:07:58 EST


On Sun, Apr 13, 2025 at 10:55 AM Christian Schrefl
<chrisi.schrefl@xxxxxxxxx> wrote:
>
> This causes problems on v6.13 when building for 32 bit arm (with my
> patches), since back then `*const u8` was used in the function argument

In v6.13, the function argument used `i8` -- if it were `u8`, you
wouldn't have had an issue, no?

Nowadays, in 6.13.y, everything is `u8`, so you shouldn't have a build
error with your patches.

Cheers,
Miguel