Re: [PATCH v2] rust: Use `ffi::c_char` type in firmware abstraction `FwFunc`
From: Christian Schrefl
Date: Sun Apr 13 2025 - 11:12:47 EST
On 13.04.25 5:07 PM, Miguel Ojeda wrote:
> 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?
Yes I've sent a new version of this section in the thread with Danilo.
I'll send it out as V3 soon.
>
> Nowadays, in 6.13.y, everything is `u8`, so you shouldn't have a build
> error with your patches.
>
> Cheers,
> Miguel