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

From: Christian Schrefl
Date: Sun Apr 13 2025 - 11:32:51 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?
>
Ah right that`s a typo. Should have said `i8`.

>
> Nowadays, in 6.13.y, everything is `u8`, so you shouldn't have a build
> error with your patches.
I'll mention it explicitly that its not a problem in stable 6.13, only
in the v6.13 tag.

Sorry for the confusion, Thunderbird showed this as a response to the
original patch mail, so I thought you were referring to that.

Cheers
Christian