Skip to contentSkip to conversation

rust-i2c-next for 7.3

GIT PULL Applied Igor Korotin 3 participants 6 messages Aug 19 – Aug 24

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Andi,

First pull request from the rust-i2c tree for you.

Thank you.

Igor

The following changes since commit 527dd7fb6209857f8ff4426055b3a418e60faa8b:

Merge branch 'i2c/i2c' into i2c/i2c-next (2026-07-29 23:40:39 +0200)

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.

----------------------------------------------------------------
Nicolás Antinori (1):
i2c: rust: mark I2cAdapter methods as inline

 rust/kernel/i2c.rs | 3 +++
 1 file changed, 3 insertions(+)
maintainer
#1 lore raw

Hi Igor,

Quoted 3 lines · Igor Korotin

Hi Andi,

First pull request from the rust-i2c tree for you.

Thanks for your pull request, but...

Quoted 7 lines

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

Quoted 26 lines

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.

----------------------------------------------------------------
Nicolás Antinori (1):
i2c: rust: mark I2cAdapter methods as inline

 rust/kernel/i2c.rs | 3 +++
 1 file changed, 3 insertions(+)
#2 lore raw

Hi Andi,

No problem, rebased on i2c/i2c. Updated pull below.

Thanks
Igor

The following changes since commit 7a79b02dd1b09c235c3cf6075bccca2160d1b826:

i2c: rcar: fix reset handling for Gen5 (2026-08-19 22:07:13 +0200)

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 b5fa55ad007059547c9139d4c4872e158ae255f2:

i2c: rust: mark I2cAdapter methods as inline (2026-08-22 12:22:27 +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.

----------------------------------------------------------------
Nicolás Antinori (1):
i2c: rust: mark I2cAdapter methods as inline

 rust/kernel/i2c.rs | 3 +++
 1 file changed, 3 insertions(+)
maintainer Applied
#3 lore raw

Hi Igor,

Quoted 1 line

No problem, rebased on i2c/i2c. Updated pull below.

Thank you!

Quoted 7 lines

Thanks
Igor

The following changes since commit 7a79b02dd1b09c235c3cf6075bccca2160d1b826:

i2c: rcar: fix reset handling for Gen5 (2026-08-19 22:07:13 +0200)

Quoted 7 lines

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 b5fa55ad007059547c9139d4c4872e158ae255f2:

i2c: rust: mark I2cAdapter methods as inline (2026-08-22 12:22:27 +0100)

merged to i2c/i2c.

Thanks,
Andi

#4 lore raw

Hi Andi,

Quoted 13 lines · Andi Shyti
Quoted 1 line

No problem, rebased on i2c/i2c. Updated pull below.

Thank you!

Quoted 9 lines

Thanks
Igor

The following changes since commit 7a79b02dd1b09c235c3cf6075bccca2160d1b826:

i2c: rcar: fix reset handling for Gen5 (2026-08-19 22:07:13 +0200)

are available in the Git repository at:

Quoted 7 lines
Quoted 5 lines

https://github.com/ikrtn/linux.git tags/rust-i2c-for-7.3

for you to fetch changes up to b5fa55ad007059547c9139d4c4872e158ae255f2:

i2c: rust: mark I2cAdapter methods as inline (2026-08-22 12:22:27 +0100)

merged to i2c/i2c.

Apparently you merged both branches, now having the same commit twice:

+ 61ddec70c9bcc3d4 i2c: rust: mark I2cAdapter methods as inline
+ b5fa55ad00705954 i2c: rust: mark I2cAdapter methods as inline

Gr{oetje,eeting}s,

Geert

Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
maintainer
#5 lore raw

Hi Geert,

Quoted 20 lines · Geert Uytterhoeven
Quoted 19 lines · Andi Shyti
Quoted 1 line

No problem, rebased on i2c/i2c. Updated pull below.

Thank you!

Quoted 14 lines

Thanks
Igor

The following changes since commit 7a79b02dd1b09c235c3cf6075bccca2160d1b826:

i2c: rcar: fix reset handling for Gen5 (2026-08-19 22:07:13 +0200)

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 b5fa55ad007059547c9139d4c4872e158ae255f2:

i2c: rust: mark I2cAdapter methods as inline (2026-08-22 12:22:27 +0100)

Quoted 8 lines
Quoted 1 line

merged to i2c/i2c.

Apparently you merged both branches, now having the same commit twice:

+ 61ddec70c9bcc3d4 i2c: rust: mark I2cAdapter methods as inline
+ b5fa55ad00705954 i2c: rust: mark I2cAdapter methods as inline

Gr{oetje,eeting}s,

Thanks for checking and letting me know!

It's in i2c/i2c-next (or next/master). I made the mistake of not cleaning up the first merge before pushing the change. Since this duplicate merge log will never reach mainline, I don't want to rewrite the i2c-next branch history now. Everything will be reset to mainline at 7.3-rc1 anyway.

Andi