Skip to content

Error improvements

Miguel Ojeda linux-patches lkml rust-for-linux 1 version Applied

Status from this message: Applied these two to `rust-next` since they are straightforward --

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 12 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3rust: error: improve `Error::from_errno` documentationrust/kernel/error.rs+17 -24 replies
2/3rust: error: improve `to_result` documentationrust/kernel/error.rs+37 -22 replies
3/3rust: error: replace `WARN_ON_ONCE` comment with `debug_assert!`rust/kernel/error.rs+3 -15 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchAlexandre CourbotBenno Lossin
1/3R-b R-b
2/3R-b R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Error improvements

A couple improvements from the past that I rebased prompted by the discussion at [1].

Miguel Ojeda (3):
rust: error: improve Error::from_errno documentation
rust: error: improve to_result documentation
rust: error: replace WARN_ON_ONCE comment with debug_assert!

 rust/kernel/error.rs | 62 ++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 57 insertions(+), 5 deletions(-)

--
2.51.0