[PATCH 0/3] Error improvements

Miguel Ojeda posted 3 patches 1 month ago
rust/kernel/error.rs | 62 ++++++++++++++++++++++++++++++++++++++++----
1 file changed, 57 insertions(+), 5 deletions(-)
[PATCH 0/3] Error improvements
Posted by Miguel Ojeda 1 month ago
A couple improvements from the past that I rebased prompted by the
discussion at [1].

Link: https://rust-for-linux.zulipchat.com/#narrow/channel/288089-General/topic/x/near/535616940 [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
Re: [PATCH 0/3] Error improvements
Posted by Miguel Ojeda 3 weeks, 2 days ago
On Fri, Aug 29, 2025 at 9:23 PM Miguel Ojeda <ojeda@kernel.org> wrote:
>
>   rust: error: improve `Error::from_errno` documentation
>   rust: error: improve `to_result` documentation

Applied these two to `rust-next` since they are straightforward --
thanks everyone!

For the last one, we can discuss it a bit more in Kangrejos.

Cheers,
Miguel