Re: [RFC PATCH v4 1/3] i2c: rust: implement SMBus read abstraction via kernel::io::Io for I2cClient
From: Muchamad Coirul Anwar
Date: Tue Jul 14 2026 - 12:10:54 EST
On Sat, 11 Jul 2026 at 19:08, Danilo Krummrich <dakr@xxxxxxxxxx> wrote:
> On Tue Jul 7, 2026 at 5:15 PM CEST, Muchamad Coirul Anwar wrote:
> > +impl<Ctx: device::DeviceContext> IoCapable<u8> for I2cClient<Ctx> {
>
> Independent from [1], this must not be implemented for any DeviceContext. I/O
> operations require at least the Bound the device context.
>
> [1 https://lore.kernel.org/all/DJVQ852J7SOH.26YBIJTQ9B66G@xxxxxxxxxx/]
Understood. I will restrict to I2cClient<Bound> in v5.
Thanks
Coirul