From: Andreas Hindborg <a.hindborg@kernel.org>
To: Alice Ryhl <aliceryhl@google.com>, tamird@gmail.com
Cc: Liam.Howlett@oracle.com, airlied@gmail.com,
alex.gaynor@gmail.com, aliceryhl@google.com, arve@android.com,
axboe@kernel.dk, bhelgaas@google.com, bjorn3_gh@protonmail.com,
boqun.feng@gmail.com, brauner@kernel.org, broonie@kernel.org,
cmllamas@google.com, dakr@kernel.org,
dri-devel@lists.freedesktop.org, gary@garyguo.net,
gregkh@linuxfoundation.org, jack@suse.cz, joelagnelf@nvidia.com,
justinstitt@google.com, kwilczynski@kernel.org,
leitao@debian.org, lgirdwood@gmail.com,
linux-block@vger.kernel.org, linux-clk@vger.kernel.org,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-pci@vger.kernel.org, linux-pm@vger.kernel.org,
llvm@lists.linux.dev, longman@redhat.com,
lorenzo.stoakes@oracle.com, lossin@kernel.org, maco@android.com,
mcgrof@kernel.org, mingo@redhat.com, mmaurer@google.com,
morbo@google.com, mturquette@baylibre.com, nathan@kernel.org,
nick.desaulniers+lkml@gmail.com, nm@ti.com, ojeda@kernel.org,
peterz@infradead.org, rafael@kernel.org, russ.weight@linux.dev,
rust-for-linux@vger.kernel.org, sboyd@kernel.org,
simona@ffwll.ch, surenb@google.com, tkjos@android.com,
tmgross@umich.edu, urezki@gmail.com, vbabka@suse.cz,
vireshk@kernel.org, viro@zeniv.linux.org.uk, will@kernel.org
Subject: Re: [PATCH v18 12/16] rust: configfs: use `CStr::as_char_ptr`
Date: Mon, 20 Oct 2025 14:44:56 +0200 [thread overview]
Message-ID: <87ms5lspx3.fsf@t14s.mail-host-address-is-not-set> (raw)
In-Reply-To: <20251018180303.3615403-1-aliceryhl@google.com>
Alice Ryhl <aliceryhl@google.com> writes:
> From: Tamir Duberstein <tamird@gmail.com>
>
> Replace the use of `as_ptr` which works through `<CStr as
> Deref<Target=&[u8]>::deref()` in preparation for replacing
> `kernel::str::CStr` with `core::ffi::CStr` as the latter does not
> implement `Deref<Target=&[u8]>`.
>
> Signed-off-by: Tamir Duberstein <tamird@gmail.com>
> Signed-off-by: Alice Ryhl <aliceryhl@google.com>
Acked-by: Andreas Hindborg <a.hindborg@kernel.org>
Best regards,
Andreas Hindborg
next prev parent reply other threads:[~2025-10-20 12:45 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-18 17:45 [PATCH v18 00/16] rust: replace kernel::str::CStr w/ core::ffi::CStr Tamir Duberstein
2025-10-18 17:45 ` [PATCH v18 01/16] samples: rust: platform: remove trailing commas Tamir Duberstein
2025-10-18 17:45 ` [PATCH v18 02/16] rust_binder: remove trailing comma Tamir Duberstein
2025-10-18 17:45 ` [PATCH v18 03/16] rust_binder: use `kernel::fmt` Tamir Duberstein
2025-10-18 17:45 ` [PATCH v18 04/16] rust_binder: use `core::ffi::CStr` method names Tamir Duberstein
2025-10-18 17:45 ` [PATCH v18 05/16] rnull: use `kernel::fmt` Tamir Duberstein
2025-10-18 17:45 ` [PATCH v18 06/16] rust: alloc: " Tamir Duberstein
2025-10-18 17:45 ` [PATCH v18 07/16] rust: debugfs: " Tamir Duberstein
2025-10-18 17:45 ` [PATCH v18 08/16] rust: pci: " Tamir Duberstein
2025-10-18 17:45 ` [PATCH v18 09/16] rust: remove spurious `use core::fmt::Debug` Tamir Duberstein
2025-10-18 17:45 ` [PATCH v18 10/16] rust: opp: use `CStr::as_char_ptr` Tamir Duberstein
2025-10-22 2:26 ` Viresh Kumar
2025-10-18 17:45 ` [PATCH v18 11/16] rust: opp: fix broken rustdoc link Tamir Duberstein
2025-10-22 2:27 ` Viresh Kumar
2025-10-22 4:01 ` Viresh Kumar
2025-10-18 18:03 ` [PATCH v18 12/16] rust: configfs: use `CStr::as_char_ptr` Alice Ryhl
2025-10-20 12:44 ` Andreas Hindborg [this message]
2025-10-18 18:03 ` [PATCH v18 13/16] rust: regulator: " Alice Ryhl
2025-10-18 18:03 ` [PATCH v18 14/16] rust: clk: " Alice Ryhl
2025-10-22 2:27 ` Viresh Kumar
2025-10-18 18:03 ` [PATCH v18 15/16] rust: support formatting of foreign types Alice Ryhl
2025-10-18 18:05 ` [PATCH v18 16/16] rust: replace `CStr` with `core::ffi::CStr` Alice Ryhl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ms5lspx3.fsf@t14s.mail-host-address-is-not-set \
--to=a.hindborg@kernel.org \
--cc=Liam.Howlett@oracle.com \
--cc=airlied@gmail.com \
--cc=alex.gaynor@gmail.com \
--cc=aliceryhl@google.com \
--cc=arve@android.com \
--cc=axboe@kernel.dk \
--cc=bhelgaas@google.com \
--cc=bjorn3_gh@protonmail.com \
--cc=boqun.feng@gmail.com \
--cc=brauner@kernel.org \
--cc=broonie@kernel.org \
--cc=cmllamas@google.com \
--cc=dakr@kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=gary@garyguo.net \
--cc=gregkh@linuxfoundation.org \
--cc=jack@suse.cz \
--cc=joelagnelf@nvidia.com \
--cc=justinstitt@google.com \
--cc=kwilczynski@kernel.org \
--cc=leitao@debian.org \
--cc=lgirdwood@gmail.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=longman@redhat.com \
--cc=lorenzo.stoakes@oracle.com \
--cc=lossin@kernel.org \
--cc=maco@android.com \
--cc=mcgrof@kernel.org \
--cc=mingo@redhat.com \
--cc=mmaurer@google.com \
--cc=morbo@google.com \
--cc=mturquette@baylibre.com \
--cc=nathan@kernel.org \
--cc=nick.desaulniers+lkml@gmail.com \
--cc=nm@ti.com \
--cc=ojeda@kernel.org \
--cc=peterz@infradead.org \
--cc=rafael@kernel.org \
--cc=russ.weight@linux.dev \
--cc=rust-for-linux@vger.kernel.org \
--cc=sboyd@kernel.org \
--cc=simona@ffwll.ch \
--cc=surenb@google.com \
--cc=tamird@gmail.com \
--cc=tkjos@android.com \
--cc=tmgross@umich.edu \
--cc=urezki@gmail.com \
--cc=vbabka@suse.cz \
--cc=vireshk@kernel.org \
--cc=viro@zeniv.linux.org.uk \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).