Benno Lossin
2025-Sep-25 22:12 UTC
[PATCH v2 19/19] rust: regulator: replace `kernel::c_str!` with C-Strings
On Thu Sep 25, 2025 at 3:54 PM CEST, Tamir Duberstein wrote:> C-String literals were added in Rust 1.77. Replace instances of > `kernel::c_str!` with C-String literals where possible. > > Signed-off-by: Tamir Duberstein <tamird at gmail.com>Reviewed-by: Benno Lossin <lossin at kernel.org> --- Cheers, Benno> --- > rust/kernel/regulator.rs | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-)