Re: [PATCH v2 1/5] rust: fix signature of rust_fmt_argument

2025-02-28 Thread Tamir Duberstein
On Fri, Feb 28, 2025 at 7:41 AM Alice Ryhl wrote: > > Without this change, the rest of this series will emit the following > error message: > > error[E0308]: `if` and `else` have incompatible types > --> /rust/kernel/print.rs:22:22 >| > 21 | #[export] >| - expected because of thi

[PATCH v2 1/5] rust: fix signature of rust_fmt_argument

2025-02-28 Thread Alice Ryhl
Without this change, the rest of this series will emit the following error message: error[E0308]: `if` and `else` have incompatible types --> /rust/kernel/print.rs:22:22 | 21 | #[export] | - expected because of this 22 | unsafe extern "C" fn rust_fmt_argument( |