Skip to contentSkip to conversation

linux-next: manual merge of the battery tree with the i2c tree

DISCUSSION Stephen Rothwell 2 participants 3 messages Sep 12, 2022 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the battery tree got a conflict in:

drivers/power/supply/cw2015_battery.c

between commit:

ed5c2f5fd10d ("i2c: Make remove callback return void")

from the i2c tree and commit:

ed5c2f5fd10d ("i2c: Make remove callback return void")

from the battery tree.

I fixed it up (the latter removed the code modified by the former, so I just did that) and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hello,

Quoted 8 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the battery tree got a conflict in:

drivers/power/supply/cw2015_battery.c

between commit:

Quoted 7 lines

ed5c2f5fd10d ("i2c: Make remove callback return void")

from the i2c tree and commit:

ed5c2f5fd10d ("i2c: Make remove callback return void")

from the battery tree.

The commit from the battery tree is

0cb172a4918e ("power: supply: cw2015: Use device managed API to simplify the code")

Quoted 2 lines

I fixed it up (the latter removed the code modified by the former, so I just did that)

I don't see today's tag in git yet, but removing the code sounds right.

Quoted 6 lines

and can carry the fix as necessary. This is now fixed as far as linux-next is concerned, but any non trivial conflicts should be mentioned to your upstream maintainer when your tree is submitted for merging. You may also want to consider cooperating with the maintainer of the conflicting tree to minimise any particularly complex conflicts.

@Sebastian: You might want to pull

https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux i2c/make_remove_callback_void-immutable

into your tree to prepare a smooth merging experience for Linus.

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
#2 lore raw

Hi Uwe,

Quoted 14 lines · On Mon, 12 Sep 2022 09:34:55 +0200 Uwe Kleine-König…
Quoted 12 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the battery tree got a conflict in:

drivers/power/supply/cw2015_battery.c

between commit:

ed5c2f5fd10d ("i2c: Make remove callback return void")

from the i2c tree and commit:

Quoted 7 lines
Quoted 3 lines

ed5c2f5fd10d ("i2c: Make remove callback return void")

from the battery tree.

The commit from the battery tree is

0cb172a4918e ("power: supply: cw2015: Use device managed API to simplify the code")

Yes, sorry, cut and paste fail :-(

Quoted 4 lines
Quoted 2 lines

I fixed it up (the latter removed the code modified by the former, so I just did that)

I don't see today's tag in git yet, but removing the code sounds right.

Good, and, yeah, I am still going :-)

Signature · 2 lines
Cheers,
Stephen Rothwell