Re: [PATCH v4 3/3] rust: error: Replace pr_warn by pr_warn_once

From: Miguel Ojeda
Date: Sat Nov 30 2024 - 13:19:12 EST


On Wed, Nov 27, 2024 at 9:39 PM <jens.korinth@xxxxxxx> wrote:
>
> Tbh, I am not 100% whether this should be here at all. The bug is not here, it's
> at the call site. It should probably be a `try_from` instead, to raise the error
> there?

Do you mean removing the function altogether? i.e. migrating all
callers to `try_from_errno`?

Cheers,
Miguel