Skip to content

rust: replace WARN_ONCE TODOs with pr_warn_once!

Adarsh Das rust-for-linux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4rust: error: use `pr_warn_once!` instead of `pr_warn!`rust/kernel/error.rs+1 -20 replies
2/4rust: module_params: use `pr_warn_once!` instead of `pr_warn!`rust/kernel/module_param.rs+1 -20 replies
3/4rust: mm: add `pr_warn_once!` for invalid range in `zap_page_range_single`rust/kernel/mm/virt.rs+1 -10 replies
4/4rust: time: add `pr_warn_once!` for clamped delta in `fsleep`rust/kernel/time/delay.rs+1 -17 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] rust: replace WARN_ONCE TODOs with pr_warn_once!

Replace pr_warn and TODO comments for pr_warn_once with the macro call.

Adarsh Das (4):
rust: error: use pr_warn_once! instead of pr_warn!
rust: module_params: use pr_warn_once! instead of pr_warn!
rust: mm: add pr_warn_once! for invalid range in
zap_page_range_single
rust: time: add pr_warn_once! for clamped delta in fsleep

 rust/kernel/error.rs        | 3 +--
 rust/kernel/mm/virt.rs      | 2 +-
 rust/kernel/module_param.rs | 3 +--
 rust/kernel/time/delay.rs   | 2 +-
 4 files changed, 4 insertions(+), 6 deletions(-)
Signature · 1 line
2.53.0