[PATCH 0/2] rust: kernel: add missing safety documentation

From: Navaneeth K

Date: Sat Nov 22 2025 - 14:09:38 EST


This series adds missing // SAFETY: comments to unsafe blocks in
the Rust kernel abstractions, replacing existing TODOs.

This aligns the code with the project's requirement that all
unsafe blocks must be documented with a safety rationale.

Navaneeth K (2):
rust: kernel: document safety for rust_fmt_argument
rust: kernel: document safety for as_str_unchecked

rust/kernel/print.rs | 2 +-
rust/kernel/str.rs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

--
2.43.0