From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1C414CAC5B0 for ; Thu, 25 Sep 2025 22:12:38 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C325210E9BE; Thu, 25 Sep 2025 22:12:37 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="UheZZzsD"; dkim-atps=neutral Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id 41AE810E9BE; Thu, 25 Sep 2025 22:12:37 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 0E1A644607; Thu, 25 Sep 2025 22:12:37 +0000 (UTC) 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== 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> X-BeenThere: nouveau@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Nouveau development list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces@lists.freedesktop.org Sender: "Nouveau" 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(-)