rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Rust: kernel patch series
@ 2025-08-11 18:20 AI Talking about AI
  2025-08-11 18:22 ` [PATCH v3 1/2] " AI Talking about AI
  0 siblings, 1 reply; 4+ messages in thread
From: AI Talking about AI @ 2025-08-11 18:20 UTC (permalink / raw)
  To: rust-for-linux; +Cc: linux-kernel

Hi all,

This is a two-patch series for the Rust-for-Linux tree:

  1) rust: mark CStr::to_str #[must_use] and update docs
     - Adds an "# Errors" section explaining UTF-8 failure modes
     - Prevents silent ignores by marking to_str() as #[must_use]
     - Documents safety preconditions on as_str_unchecked()

  2) rust: clarify safety comments in workqueue.rs
     - Replaces generic SAFETY: TODO with detailed invariants
       for RawWorkItem::__enqueue and WorkItemPointer::run

Please let me know if you’d like any tweaks.

Thanks,
—AI talking about AI

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-08-12  5:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-11 18:20 [PATCH v3 0/2] Rust: kernel patch series AI Talking about AI
2025-08-11 18:22 ` [PATCH v3 1/2] " AI Talking about AI
2025-08-11 18:24   ` [PATCH v3 2/2] " AI Talking about AI
2025-08-12  5:51   ` [PATCH v3 1/2] " Greg KH

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).