Re: [GIT PULL] rust-i2c-next for 7.3

From: Andi Shyti

Date: Thu Aug 20 2026 - 15:27:04 EST


Hi Igor,

On Wed, Aug 19, 2026 at 10:28:03PM +0100, Igor Korotin wrote:
> Hi Andi,
>
> First pull request from the rust-i2c tree for you.

Thanks for your pull request, but...

> Thank you.
>
> Igor
>
> The following changes since commit 527dd7fb6209857f8ff4426055b3a418e60faa8b:
>
> Merge branch 'i2c/i2c' into i2c/i2c-next (2026-07-29 23:40:39 +0200)

... do you mind rebasing on top of i2c/i2c rather than
i2c/i2c-next? The latter is my testing branch for both fixes and
merge window patches. While i2c/i2c is the branch where I pile up
patches for Linus.

Otherwise I would need to cherry-pick.

Sorry, I should have specified that in my kernel.org info page. I
will do it after the merge window.

Thanks,
Andi

> are available in the Git repository at:
>
> https://github.com/ikrtn/linux.git tags/rust-i2c-for-7.3
>
> for you to fetch changes up to 61ddec70c9bcc3d4b0471c8683e57d3b03cecf0a:
>
> i2c: rust: mark I2cAdapter methods as inline (2026-08-09 12:04:34 +0100)
>
> ----------------------------------------------------------------
> i2c: rust: mark I2cAdapter methods as inline
>
> A single cleanup for the Rust I2C abstractions, targeting 7.3.
>
> `I2cAdapter::get`, `inc_ref`, and `dec_ref` are trivial wrappers around
> `i2c_get_adapter`/`i2c_put_adapter` and were showing up as their own
> symbols in the build. Mark them `#[inline]` so they get folded into
> their callers instead.
>
> Signed-off-by: Igor Korotin <igor.korotin@xxxxxxxxx>
>
> ----------------------------------------------------------------
> Nicolás Antinori (1):
> i2c: rust: mark I2cAdapter methods as inline
>
> rust/kernel/i2c.rs | 3 +++
> 1 file changed, 3 insertions(+)