Re: [PATCH v3 4/6] rust: sync: replace `kernel::c_str!` with C-Strings

From: Miguel Ojeda
Date: Sun Nov 16 2025 - 18:09:43 EST


On Thu, Nov 13, 2025 at 11:58 PM Tamir Duberstein <tamird@xxxxxxxxxx> wrote:
>
> @@ -119,6 +118,6 @@ macro_rules! optional_name {
> $crate::c_str!(::core::concat!(::core::file!(), ":", ::core::line!()))
> };
> ($name:literal) => {
> - $crate::c_str!($name)
> + $name
> };
> }

This requires the next commit plus it needs callers of `new_spinlock!`
in Binder to be fixed at the same time.

Cheers,
Miguel