Skip to contentSkip to conversation

linux-next: manual merge of the random tree with the memblock tree

DISCUSSION Stephen Rothwell 2 participants 4 messages Aug 27, 2024 – Sep 20, 2024 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

tools/include/linux/linkage.h

between commit:

d68c08173b70 ("memblock tests: include export.h in linkage.h as kernel dose")

from the memblock tree and commit:

9fcce2aaea8a ("selftests/vDSO: fix include order in build of test_vdso_chacha")

from the random 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 · 18 lines
Cheers,
Stephen Rothwell

diff --cc tools/include/linux/linkage.h
index 20dee24d7e1b,a48ff086899c..000000000000
--- a/tools/include/linux/linkage.h
+++ b/tools/include/linux/linkage.h
@@@ -1,6 -1,8 +1,10 @@@
  #ifndef _TOOLS_INCLUDE_LINUX_LINKAGE_H
  #define _TOOLS_INCLUDE_LINUX_LINKAGE_H
  
 +#include <linux/export.h>
 +
+ #define SYM_FUNC_START(x) .globl x; x:
+ 
+ #define SYM_FUNC_END(x)
+ 
  #endif /* _TOOLS_INCLUDE_LINUX_LINKAGE_H */
#1 lore raw

Hi all,

Quoted 27 lines · On Tue, 27 Aug 2024 15:04:53 +1000 Stephen Rothwell <[email protected]>…

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

tools/include/linux/linkage.h

between commit:

d68c08173b70 ("memblock tests: include export.h in linkage.h as kernel dose")

from the memblock tree and commit:

9fcce2aaea8a ("selftests/vDSO: fix include order in build of test_vdso_chacha")

from the random 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.

tools/include/linux/linkage.h +0 -0
diff --cc tools/include/linux/linkage.h
index 20dee24d7e1b,a48ff086899c..000000000000

tools/include/linux/linkage.h

Quoted 10 lines
tools/include/linux/linkage.h +4 -0
@@@ -1,6 -1,8 +1,10 @@@
  #ifndef _TOOLS_INCLUDE_LINUX_LINKAGE_H
  #define _TOOLS_INCLUDE_LINUX_LINKAGE_H
 
 +#include <linux/export.h>
 +
+ #define SYM_FUNC_START(x) .globl x; x:
+ 
+ #define SYM_FUNC_END(x)
+ 
  #endif /* _TOOLS_INCLUDE_LINUX_LINKAGE_H */

This is now a conflict between the memblock tree and Linus' tree.

Signature · 2 lines
Cheers,
Stephen Rothwell
#2 lore raw
Quoted 33 lines · Stephen Rothwell

Hi all,

Quoted 30 lines · On Tue, 27 Aug 2024 15:04:53 +1000 Stephen Rothwell <[email protected]>…

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

tools/include/linux/linkage.h

between commit:

d68c08173b70 ("memblock tests: include export.h in linkage.h as kernel dose")

from the memblock tree and commit:

9fcce2aaea8a ("selftests/vDSO: fix include order in build of test_vdso_chacha")

from the random 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.

tools/include/linux/linkage.h +0 -0
diff --cc tools/include/linux/linkage.h
index 20dee24d7e1b,a48ff086899c..000000000000
@@@ -1,6 -1,8 +1,10 @@@
  #ifndef _TOOLS_INCLUDE_LINUX_LINKAGE_H
  #define _TOOLS_INCLUDE_LINUX_LINKAGE_H
Quoted 10 lines
Quoted 7 lines

+#include <linux/export.h>
+
+ #define SYM_FUNC_START(x) .globl x; x:
+
+ #define SYM_FUNC_END(x)
+
#endif /* _TOOLS_INCLUDE_LINUX_LINKAGE_H */

This is now a conflict between the memblock tree and Linus' tree.

Do I need to send a new version?

Quoted 3 lines
Signature · 2 lines
Cheers,
Stephen Rothwell
Signature · 2 lines
Wei Yang
Help you, Help me
#3 lore raw

Hi Wei,

Quoted 2 lines · On Thu, 19 Sep 2024 23:45:57 +0000 Wei Yang <[email protected]> wrote:

Do I need to send a new version?

No, this was just a reminder to the tree maintainer to tell Linus about the conflict in their PR.

Signature · 2 lines
Cheers,
Stephen Rothwell