mbox series

[GIT,PULL] rust-i2c-next for 7.3

Message ID 178717488339.2840.16053648973983973210@linux.dev
State New
Headers show
Series [GIT,PULL] rust-i2c-next for 7.3 | expand

Pull-request

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

Message

Igor Korotin Aug. 19, 2026, 9:28 p.m. UTC
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.

Signed-off-by: Igor Korotin <igor.korotin@linux.dev>

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

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

Comments

Andi Shyti Aug. 20, 2026, 7:26 p.m. UTC | #1
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@linux.dev>
> 
> ----------------------------------------------------------------
> Nicolás Antinori (1):
>       i2c: rust: mark I2cAdapter methods as inline
> 
>  rust/kernel/i2c.rs | 3 +++
>  1 file changed, 3 insertions(+)
Igor Korotin Aug. 22, 2026, 11:38 a.m. UTC | #2
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.

Signed-off-by: Igor Korotin <igor.korotin@linux.dev>

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

 rust/kernel/i2c.rs | 3 +++
 1 file changed, 3 insertions(+)
Andi Shyti Aug. 22, 2026, 12:24 p.m. UTC | #3
Hi Igor,

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

Thank you!

> 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)

merged to i2c/i2c.

Thanks,
Andi
Geert Uytterhoeven Aug. 24, 2026, 7:54 a.m. UTC | #4
Hi Andi,

On Mon, 24 Aug 2026 at 01:30, Andi Shyti <andi.shyti@kernel.org> wrote:
> > No problem, rebased on i2c/i2c. Updated pull below.
>
> Thank you!
>
> > 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)
>
> 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
Andi Shyti Aug. 24, 2026, 11:45 a.m. UTC | #5
Hi Geert,

On Mon, Aug 24, 2026 at 09:54:09AM +0200, Geert Uytterhoeven wrote:
> On Mon, 24 Aug 2026 at 01:30, Andi Shyti <andi.shyti@kernel.org> wrote:
> > > No problem, rebased on i2c/i2c. Updated pull below.
> >
> > Thank you!
> >
> > > 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)
> >
> > 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