Skip to contentSkip to conversation

linux-next: manual merge of the wireless-next tree with Linus' tree

DISCUSSION Stephen Rothwell 3 participants 8 messages Oct 9, 2024 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

Today's linux-next merge of the wireless-next tree got conflicts in:

drivers/staging/rtl8192e/rtl8192e/r8190P_def.h drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c drivers/staging/rtl8192e/rtl8192e/r8192E_phy.h drivers/staging/rtl8192e/rtl8192e/rtl_core.c drivers/staging/rtl8192e/rtl8192e/rtl_core.h drivers/staging/rtl8192e/rtl8192e/rtl_dm.c drivers/staging/rtl8192e/rtl8192e/rtl_ps.c drivers/staging/rtl8192e/rtl8192e/rtl_wx.c drivers/staging/rtl8192e/rtl819x_BAProc.c drivers/staging/rtl8192e/rtl819x_HTProc.c drivers/staging/rtl8192e/rtl819x_TSProc.c drivers/staging/rtl8192e/rtllib.h drivers/staging/rtl8192e/rtllib_rx.c drivers/staging/rtl8192e/rtllib_softmac_wx.c

between commits:

5f60d5f6bbc1 ("move asm/unaligned.h to linux/unaligned.h") 5e6bf74d63c2 ("Staging: rtl8192e: Rename variable RxDrvInfoSize")
and many others

from Linus' tree (pre v6.12-rc2) and commit:

be9be9f54f22 ("staging: rtl8192e: delete the driver")

from the wireless-next tree.

I fixed it up (see below) 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
Quoted 32 lines · Stephen Rothwell

Hi all,

Today's linux-next merge of the wireless-next tree got conflicts in:

drivers/staging/rtl8192e/rtl8192e/r8190P_def.h drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c drivers/staging/rtl8192e/rtl8192e/r8192E_hw.h drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c drivers/staging/rtl8192e/rtl8192e/r8192E_phy.h drivers/staging/rtl8192e/rtl8192e/rtl_core.c drivers/staging/rtl8192e/rtl8192e/rtl_core.h drivers/staging/rtl8192e/rtl8192e/rtl_dm.c drivers/staging/rtl8192e/rtl8192e/rtl_ps.c drivers/staging/rtl8192e/rtl8192e/rtl_wx.c drivers/staging/rtl8192e/rtl819x_BAProc.c drivers/staging/rtl8192e/rtl819x_HTProc.c drivers/staging/rtl8192e/rtl819x_TSProc.c drivers/staging/rtl8192e/rtllib.h drivers/staging/rtl8192e/rtllib_rx.c drivers/staging/rtl8192e/rtllib_softmac_wx.c

between commits:

5f60d5f6bbc1 ("move asm/unaligned.h to linux/unaligned.h") 5e6bf74d63c2 ("Staging: rtl8192e: Rename variable RxDrvInfoSize")
and many others

from Linus' tree (pre v6.12-rc2) and commit:

be9be9f54f22 ("staging: rtl8192e: delete the driver")

Quoted 8 lines

from the wireless-next tree.

I fixed it up (see below) 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.

Johannes, any objection if I just pull in your wireless-next tree into my staging-next branch so that we don't get these issues going forward?

It's not going to be rebased, right?

thanks,

greg k-h

#2 lore raw
Quoted 6 lines · Greg Kroah-Hartman

Johannes, any objection if I just pull in your wireless-next tree into my staging-next branch so that we don't get these issues going forward?

It's not going to be rebased, right?

It's not.

However, Stephen also reported a build failure that you don't want to pull in, so you can either

* pull in commit 836265d31631 ("wifi: remove iw_public_data from struct net_device") from before the build failure,

* pull in commit 4991d2e7ad38 ("staging: don't recommend using lib80211") which is really all you care about (both staging patches I had are included at that point), or

* give me an hour or so to revert commit aee809aaa2d1 ("wifi: cfg80211:
unexport wireless_nlevent_flush()") which caused a build failure.

But if the conflict is to Linus's tree, is that even going to help? Seems like I should pull in -rc2 and solve this one and the ks7010 one that way? Just need to check with net-next?

johannes

#3 lore raw
Quoted 20 lines · Johannes Berg
Quoted 6 lines · Greg Kroah-Hartman

Johannes, any objection if I just pull in your wireless-next tree into my staging-next branch so that we don't get these issues going forward?

It's not going to be rebased, right?

It's not.

However, Stephen also reported a build failure that you don't want to pull in, so you can either

* pull in commit 836265d31631 ("wifi: remove iw_public_data from struct net_device") from before the build failure,

* pull in commit 4991d2e7ad38 ("staging: don't recommend using lib80211") which is really all you care about (both staging patches I had are included at that point), or

Quoted 7 lines

* give me an hour or so to revert commit aee809aaa2d1 ("wifi: cfg80211:
unexport wireless_nlevent_flush()") which caused a build failure.

But if the conflict is to Linus's tree, is that even going to help? Seems like I should pull in -rc2 and solve this one and the ks7010 one that way? Just need to check with net-next?

I'm not worried about the conflict with Linus's tree, sorry, I now see that that's what was being reported here also. I just want to get your staging driver changes, so I'll pull in up to commit 4991d2e7ad38, which is all I really care about :)

thanks,

greg k-h

#4 lore raw
Quoted 6 lines · Greg Kroah-Hartman
Quoted 3 lines

But if the conflict is to Linus's tree, is that even going to help? Seems like I should pull in -rc2 and solve this one and the ks7010 one that way? Just need to check with net-next?

I'm not worried about the conflict with Linus's tree, sorry, I now see that that's what was being reported here also.

Ah OK. But I checked, and I can just pull in net-next to resolve this and two other conflicts (where one appears to be due to git getting confused between moving a file and deleting another copy of it in staging), so I'll probably just do that, just need to sync with Kalle.

Quoted 3 lines

I just want to get your
staging driver changes, so I'll pull in up to commit 4991d2e7ad38, which is all I really care about :)

Oh OK, so that's mostly unrelated then. Sure, you can pull that in so you have the staging changes I've made in case other staging patches want to touch the files.

Although ... maybe wait with that too. If you merge that now you'll have to resolve (some of) the conflicts, and if I'm merging net-next now as well we'll have two conflict resolutions for the same thing? That seems a bit strange, even if the resolutions are almost certainly going to be identical.

I can push out the net-next merge (& revert) soon, and then it'll all be cleaner?

johannes

#5 lore raw
Quoted 23 lines · Johannes Berg
Quoted 6 lines · Greg Kroah-Hartman
Quoted 3 lines

But if the conflict is to Linus's tree, is that even going to help? Seems like I should pull in -rc2 and solve this one and the ks7010 one that way? Just need to check with net-next?

I'm not worried about the conflict with Linus's tree, sorry, I now see that that's what was being reported here also.

Ah OK. But I checked, and I can just pull in net-next to resolve this and two other conflicts (where one appears to be due to git getting confused between moving a file and deleting another copy of it in staging), so I'll probably just do that, just need to sync with Kalle.

Quoted 3 lines

I just want to get your
staging driver changes, so I'll pull in up to commit 4991d2e7ad38, which is all I really care about :)

Oh OK, so that's mostly unrelated then. Sure, you can pull that in so you have the staging changes I've made in case other staging patches want to touch the files.

Quoted 8 lines

Although ... maybe wait with that too. If you merge that now you'll have to resolve (some of) the conflicts, and if I'm merging net-next now as well we'll have two conflict resolutions for the same thing? That seems a bit strange, even if the resolutions are almost certainly going to be identical.

I can push out the net-next merge (& revert) soon, and then it'll all be cleaner?

Sure, I'll wait, just let me know what commit to merge at, from what tree, whenever you have it ready.

thanks!

greg k-h

#6 lore raw
Quoted 7 lines · Greg Kroah-Hartman
Quoted 3 lines

I can push out the net-next merge (& revert) soon, and then it'll all be cleaner?

Sure, I'll wait, just let me know what commit to merge at, from what tree, whenever you have it ready.

I've done all that now, so you could merge wireless-next/main up to its head, which right now is a0efa2f362a6 ("Merge net-next/main to resolve conflicts").

johannes

#7 lore raw
Quoted 5 lines · Johannes Berg
Quoted 4 lines · Greg Kroah-Hartman
Quoted 3 lines

I can push out the net-next merge (& revert) soon, and then it'll all be cleaner?

Quoted 7 lines
Quoted 3 lines

Sure, I'll wait, just let me know what commit to merge at, from what tree, whenever you have it ready.

I've done all that now, so you could merge wireless-next/main up to its head, which right now is a0efa2f362a6 ("Merge net-next/main to resolve conflicts").

Sure, will do so now. That branch has a lot of non-staging stuff in it but git can figure it out when it's all merged together so all is good!

thanks,

greg k-h