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

Navaneeth K posted 2 patches 1 week, 2 days ago
rust/kernel/print.rs | 2 +-
rust/kernel/str.rs   | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
[PATCH 0/2] rust: kernel: add missing safety documentation
Posted by Navaneeth K 1 week, 2 days ago
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