Re: [RFC PATCH v8 1/4] rust: io: add FallibleIoCapable
From: Andy Shevchenko
Date: Thu Dec 03 2026 - 05:49:43 EST
On Tue, Dec 01, 2026 at 11:55:05PM +0700, Muchamad Coirul Anwar wrote:
> Add a fallible I/O capability for backends whose accesses may fail
> independently of address validation.
>
> Route try_read, try_write, try_write_reg, and try_update through the
> fallible capability. Provide a blanket implementation for infallible
> IoCapable backends so existing users retain their current behavior.
>
> This allows transport-backed implementations such as I2C to expose only
> fallible access while keeping infallible operations unavailable.
> Link: https://lore.kernel.org/all/DJVQ852J7SOH.26YBIJTQ9B66G@xxxxxxxxxx/
Drop unreferred Link tag(s), if it's for Suggested-by, no need, it's implied
that it was Suggested. Moreover, since the mentioned person is in Cc list
they have to give a tag to confirm that.
> Suggested-by: Danilo Krummrich <dakr@xxxxxxxxxx>
--
With Best Regards,
Andy Shevchenko