From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0CE3C2E8B6B; Thu, 25 Sep 2025 22:12:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758838357; cv=none; b=qbIt9MjWiAQjGyLBwhy4gLSM2fYozrbeUnhU63Mrfck7qyS7qvoxUF4+tMg83YQbpaM8dEzhM05OmxVSKjTBtIEzYQ4fmEAsldPAOvhDuiwiWWS5+hWQgRpbumkrQuiGfu9H+ORlWPFRipGURy9uTRi16I+PX1qmXf71mwsQF1Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758838357; c=relaxed/simple; bh=EhzcAQQNefG/rpYum9YccukxD+KTEFef1Ilrcnpn4P0=; h=Mime-Version:Content-Type:Date:Message-Id:From:To:Cc:Subject: References:In-Reply-To; b=ZcaLeMWsMUh/sYLLGgNhh3xiky0/o7hvpJjqFkPG58K28HfxoXziu8gM0Cn0gtCeDmv5vqkQMYYQhs2WZBTDg0QdWAmdS0wDC4mH4nkLNXa72Ph15gjpnp393DQOuepMiZtX4gjgTvnA3VBeBCn+vpSixPP1R95jqip9OEALtMY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UheZZzsD; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UheZZzsD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B2E0C4CEF0; Thu, 25 Sep 2025 22:12:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758838356; bh=EhzcAQQNefG/rpYum9YccukxD+KTEFef1Ilrcnpn4P0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UheZZzsDqVS/T1S0NHm17iuakVk3H2l9brDM9QIXLAuY0wKGMLmRiYjpp89q0C8X/ 2FzvAozPaMetlj/nSrxpYLGI5rromLbcpcX1lERjrDEbKnkp/jZDf4aHlR8iGLmTFy xZVJvNmF2OJH8ZoU1jzrfE0p0nk9jqKeq53Z8ntPzAczsETq7DoxaudpFpPCx11Mog x1IpQgfvMft+m4pH+d+daW6Kiz4zdidGcDJHPvJr9Yvxc9uOz15ZlCmhTmYp4qRmKx aISM7Bq7GZlncnq5sETnKuNKp99a58hU/m1fHpK0s69q0B4rxh1xK8d9sBQV9eKMfj CHAMGigKTh34Q== Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 26 Sep 2025 00:12:24 +0200 Message-Id: From: "Benno Lossin" To: "Tamir Duberstein" , "Rafael J. Wysocki" , "Viresh Kumar" , "Miguel Ojeda" , "Alex Gaynor" , "Boqun Feng" , "Gary Guo" , =?utf-8?q?Bj=C3=B6rn_Roy_Baron?= , "Andreas Hindborg" , "Alice Ryhl" , "Trevor Gross" , "Danilo Krummrich" , "Maarten Lankhorst" , "Maxime Ripard" , "Thomas Zimmermann" , "David Airlie" , "Simona Vetter" , "FUJITA Tomonori" , "Andrew Lunn" , "Heiner Kallweit" , "Russell King" , "David S. Miller" , "Eric Dumazet" , "Jakub Kicinski" , "Paolo Abeni" , "Michael Turquette" , "Stephen Boyd" , "Breno Leitao" , "Greg Kroah-Hartman" , "Luis Chamberlain" , "Russ Weight" , "Dave Ertman" , "Ira Weiny" , "Leon Romanovsky" , "Bjorn Helgaas" , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , "Arnd Bergmann" , "Brendan Higgins" , "David Gow" , "Rae Moar" , "Jens Axboe" , "Alexandre Courbot" , "Alexander Viro" , "Christian Brauner" , "Jan Kara" , "Liam Girdwood" , "Mark Brown" Cc: , , , , , , , , , , , Subject: Re: [PATCH v2 19/19] rust: regulator: replace `kernel::c_str!` with C-Strings X-Mailer: aerc 0.21.0 References: <20250925-core-cstr-cstrings-v2-0-78e0aaace1cd@gmail.com> <20250925-core-cstr-cstrings-v2-19-78e0aaace1cd@gmail.com> In-Reply-To: <20250925-core-cstr-cstrings-v2-19-78e0aaace1cd@gmail.com> 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 Reviewed-by: Benno Lossin --- Cheers, Benno > --- > rust/kernel/regulator.rs | 9 +++------ > 1 file changed, 3 insertions(+), 6 deletions(-)