Re: [RFC PATCH v4 1/3] i2c: rust: implement SMBus read abstraction via kernel::io::Io for I2cClient

Muchamad Coirul Anwar <[email protected]>
Newsgroups org.kernel.vger.linux-i2c,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel
Message-ID <CAO26r3TkGm0Puq0yJc7HyxMAujioLAs==RjGTiGUANzkHGb+Vw@mail.gmail.com>
On Sat, 11 Jul 2026 at 19:08, Danilo Krummrich <[email protected]> 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/[email protected]/]

Understood. I will restrict to I2cClient<Bound> in v5.

Thanks
Coirul
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.