From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f44.google.com (mail-wr1-f44.google.com [209.85.221.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 074B727B339 for ; Wed, 1 Oct 2025 09:29:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759310964; cv=none; b=Nbe6WGOYw1ptfQ1Agm7L3ReyomHXtodN/Pi4cFQX2Nh1MSrbORm8GzETXpknmTLDns4WkxXkPCmwxCmV6haZhd4qak/jTyY9guWfsqoaStiNO5EotOJBYMZXxGKhpEPcU1Cb5j1OFpblShpsVumb2XKhbm2ImL2L14u9RZ3fLh8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759310964; c=relaxed/simple; bh=eWhaWIh1Ch5W+HrhvE/7nWxIJ4BqD2s5kUI/3gBmyEA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Nb48X/aV2FfmR1vpSVXjJPbtZyXyIhPwxLjNIr4xN+D0YYOzMWDAwmEo4ZLaw8CrM7P8VzxUN2y79H6RZkxMdhiNHC3eRLYfPHQyikRB/W6AnlB4A1JH8hyEa/Ri0MMAkZHGQrAEMZAADnDb1PMaxgC4ygkqCQjRD8av3jn7ypI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=TVBaEkyI; arc=none smtp.client-ip=209.85.221.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="TVBaEkyI" Received: by mail-wr1-f44.google.com with SMTP id ffacd0b85a97d-3ece1102998so4745855f8f.2 for ; Wed, 01 Oct 2025 02:29:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1759310961; x=1759915761; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=eWhaWIh1Ch5W+HrhvE/7nWxIJ4BqD2s5kUI/3gBmyEA=; b=TVBaEkyIVsWpPgc25PthN0dgMizQ6ejHVgbgY4cBzyNmtAMFUxALL2/XSvvKJkBJsb nDMVrtUeFd3OpEfW3EoEcn7zKGgKwSzKK6TBOSXbDglCX4YaAdh419jxyWs9gSIew1u7 br3pPtBGPK+11HqzUpIOPf0//hSkV2Qmie5YLPhJ5K/5BYBVZH17YsA1yhe0dQRlNJti Rp26I6LcqZUn5saUboAhSALCKrU0y0bvtQl3gk/xIzSlF6laY9r6Y6+h2zODmLkxIDEm Yul6SYPIAC96/iUa230+xFVkC1Ne7w6ghfm0lj7XZyxe0v7vCRrHZWnlBDr0k3Plu8Ci C4KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759310961; x=1759915761; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eWhaWIh1Ch5W+HrhvE/7nWxIJ4BqD2s5kUI/3gBmyEA=; b=bKq0rqOJLaHEDJfCMy0sIkAhEoJh/54+us5ttlLmPzuQI4p6/Gi16goF+QtQjfUxZd bpz+CX/mhbu4cgsOkvHv4NHj865oDIKJsk1D4MhU17ej3GiiY5eVF7qmVfBym764f8Ud Kaj2SYK8xo038iE+vK0craBtW59mKbtxYB9GImeTpwYYZR3nwjZ4GpbrM3lq8Z2L0Ys7 DPDeD0cXTg9rAEhhVcYrP/aGgL+WSJ+bR9wF/uSEXqxqdU9vN4QxHoyQSgmqWSGa9HQe kHj5VBZf03RK4ueezNDG6Vh0ZSotIOZDOyJGHYSq0td3E7BiRa6yQiXpEg93a73po7RB hM7A== X-Forwarded-Encrypted: i=1; AJvYcCXBCtDZGK/p6Kx4TAnIf/Ynx35JS0N3lwkgpkqdyz6ndGyKxjkBn9Ee+yX97xw8kJZ8+XfSGEjhVAJL+z4aIg==@vger.kernel.org X-Gm-Message-State: AOJu0YyBn1kOloluFpFX7D1spML6sxbu7W+hIBB42ar+UvfG9vQxSQne D/wPURW7TFnXRBLVC9Dax7PJevXipv4ZVC8kZ/G8JioA7kCWMWljXS7RlrNXazkefJ+D7Us5S4l faM2hFQM7pzIS7TMubbgzgkknhIZFCSYyMlnVzSaC X-Gm-Gg: ASbGncvEmnAuDjTZK1YowvGohBa942wQmI3kxkyj6oIAwAsGoVzZw7gUgrnmdbydZ2E iiEZmFp1quMxLvIliKu1rYuVR1/SB5ZDsS+cpMUOt2DqupyeAlZ98ecZRsR1tfHBMRAx5T8kexo mJxCvcMmUFEnR84OZAAhf8o+yAA2JEVNeMBzQldeugiEnyXvwzrV80l9R3+4KKF9QBsXsawQ6Lx TlYiBdGRXU2RdF3LRkjrzT3EwsKgc9kCepqPO7ze5t4N/HzBBcR6l6hADxVFgT5Sfb4 X-Google-Smtp-Source: AGHT+IEGTvzQBJ51h7EDzxRa/Kisf+BfY+7cpvTrlEhl/iMUN4+q2HPEwsb4ysW4cM34kR4mPUadGwVDBMTe2U90ivY= X-Received: by 2002:a05:6000:610:b0:408:9c48:e27b with SMTP id ffacd0b85a97d-42557820c81mr2042096f8f.62.1759310960773; Wed, 01 Oct 2025 02:29:20 -0700 (PDT) Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.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> From: Alice Ryhl Date: Wed, 1 Oct 2025 11:29:08 +0200 X-Gm-Features: AS18NWCOfBcX2Vbfhr-fnk5GPcApSeOL4C5SAm45sMYmzlcHM8gTiQQ5VZSiyfk Message-ID: Subject: Re: [PATCH v2 19/19] rust: regulator: replace `kernel::c_str!` with C-Strings To: Tamir Duberstein Cc: "Rafael J. Wysocki" , Viresh Kumar , Miguel Ojeda , Alex Gaynor , Boqun Feng , Gary Guo , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , Benno Lossin , Andreas Hindborg , 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 , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, rust-for-linux@vger.kernel.org, nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, netdev@vger.kernel.org, linux-clk@vger.kernel.org, linux-pci@vger.kernel.org, linux-kselftest@vger.kernel.org, kunit-dev@googlegroups.com, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Sep 25, 2025 at 3:56=E2=80=AFPM 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: Alice Ryhl