rust: re-export `unsafe_precondition_assert!` and use in cpu module
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 2 repliesIn review
Changes in v2 from the cover letter
- Split into two patches
- Add new patch to re-export unsafe_precondition_assert! from the prelude.
- Fix message formatting and copy-paste error.
- Link to v1: https://lore.kernel.org/rust-for-linux/[email protected]/
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | rust: prelude: re-export `unsafe_precondition_assert!`rust/ | +1 | 0 replies | |
| 2/2 | rust: cpu: use `unsafe_precondition_assert!`rust/ | +17 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/2] rust: re-export `unsafe_precondition_assert!` and use in cpu module
This series consists of two patches that together re-export unsafe_precondition_assert! macro from the prelude and use it in the cpu module.
---
Changes in v2:
- Split into two patches
- Add new patch to re-export unsafe_precondition_assert! from the prelude.
- Fix message formatting and copy-paste error.
- Link to v1: https://lore.kernel.org/rust-for-linux/[email protected]/
---
Ritvik Gupta (2):
rust: prelude: re-export unsafe_precondition_assert!
rust: cpu: use unsafe_precondition_assert!
rust/kernel/cpu.rs | 22 +++++++++++++++++----- rust/kernel/prelude.rs | 1 + 2 files changed, 18 insertions(+), 5 deletions(-)
Signature · 1 line
2.54.0