Re: [PATCH 4/5] rust: error: Add a helper to convert a C ERR_PTR to a `Result`

From: Miguel Ojeda
Date: Mon Feb 27 2023 - 08:52:59 EST


On Mon, Feb 27, 2023 at 2:43 PM Andreas Hindborg <nmi@xxxxxxxxxxxx> wrote:
>
> For consistency, if `from_kernel_errno()` should be `from_errno()` this
> should be `from_err_ptr()` as well?

Sounds good to me.

Cheers,
Miguel