Re: [PATCH] rust: fix building firmware abstraction on 32bit arm
From: Benno Lossin
Date: Fri Apr 11 2025 - 04:41:03 EST
On Fri Apr 11, 2025 at 9:14 AM CEST, Christian Schrefl wrote:
> When trying to build the rust firmware abstractions on 32 bit arm the
> following build error occures:
>
> ```
[...]
> ```
>
> To fix this error the char pointer type in `FwFunc` is converted to
> `ffi::c_char`.
>
> Fixes: de6582833db0 ("rust: add firmware abstractions")
> Cc: stable@xxxxxxxxxxxxxxx # Backport only to 6.15 needed
>
> Signed-off-by: Christian Schrefl <chrisi.schrefl@xxxxxxxxx>
Reviewed-by: Benno Lossin <benno.lossin@xxxxxxxxx>
---
Cheers,
Benno
> ---
> rust/kernel/firmware.rs | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)