rust: bug: add warn_once macro
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | rust: bug: document when to use the WARN macrosrust/ | +5 | 1 reply | |
| 2/2 | rust: bug: add warn_once macrorust/ rust/ | +130 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Andreas Hindborg |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/2] rust: bug: add warn_once macro
From: FUJITA Tomonori <[email protected]>
This series adds warn_once!, the Rust version of C WARN_ONCE().
Patch 1 documents when to use the WARN macros, based on the comment in include/asm-generic/bug.h. Patch 2 adds warn_once!.
Miguel, patch 2 moves the UML warn_slowpath_fmt() call into warn_slowpath() and updates its SAFETY comment, so [1] can be dropped if this series is applied.
[1] https://lore.kernel.org/rust-for-linux/[email protected]/
FUJITA Tomonori (2):
rust: bug: document when to use the WARN macros
rust: bug: add warn_once macro
rust/helpers/bug.c | 11 ++++ rust/kernel/bug.rs | 134 +++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 135 insertions(+), 10 deletions(-)
base-commit: d52549881e6777fdcc79a349028413b182a641d2
Signature · 1 line
2.43.0