Re: [PATCH 8/9] rust: error: expose EPROTO

Miguel Ojeda <[email protected]>
Newsgroups org.kernel.vger.rust-for-linux,org.kernel.vger.linux-kernel
Message-ID <CANiq72kTzdT3_jP+A5nD1+vvSHAptRDNvxkP23YiEKwBRjy55w@mail.gmail.com>
On Wed, Aug 26, 2026 at 6:29 PM Mike Lothian <[email protected]> wrote:
>
> Add the named protocol-error constant so Rust protocol drivers
> can return the same specific errno as their C counterparts without
> constructing it from a raw integer.
>
> Assisted-by: Claude:claude-opus-5
> Signed-off-by: Mike Lothian <[email protected]>

This is already in mainline, please see commit b93fb6e76ec1 ("rust:
error: add remaining error codes").

Cheers,
Miguel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.