Skip to contentSkip to conversation

linux-next: manual merge of the sparc-next tree with the arm64 tree

DISCUSSION Stephen Rothwell 1 participant 2 messages Mar 20, 2018 – Apr 5, 2018 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi David,

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

arch/x86/kernel/signal_compat.c

between commit:

266da65e9156 ("signal: Add FPE_FLTUNK si_code for undiagnosable fp exceptions")

from the arm64 tree and commit:

d84bb709aa4a ("signals, sparc: Add signal codes for ADI violations")

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

diff --cc arch/x86/kernel/signal_compat.c
index d2884e951bb5,838a4dc90a6d..000000000000
--- a/arch/x86/kernel/signal_compat.c
+++ b/arch/x86/kernel/signal_compat.c
@@@ -26,8 -26,8 +26,8 @@@ static inline void signal_compat_build_
  	 * new fields are handled in copy_siginfo_to_user32()!
  	 */
  	BUILD_BUG_ON(NSIGILL  != 11);
 -	BUILD_BUG_ON(NSIGFPE  != 13);
 +	BUILD_BUG_ON(NSIGFPE  != 14);
- 	BUILD_BUG_ON(NSIGSEGV != 4);
+ 	BUILD_BUG_ON(NSIGSEGV != 7);
  	BUILD_BUG_ON(NSIGBUS  != 5);
  	BUILD_BUG_ON(NSIGTRAP != 4);
  	BUILD_BUG_ON(NSIGCHLD != 6);
#1 lore raw

Hi all,

Quoted 31 lines · On Wed, 21 Mar 2018 10:34:08 +1100 Stephen Rothwell <[email protected]>…

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

arch/x86/kernel/signal_compat.c

between commit:

266da65e9156 ("signal: Add FPE_FLTUNK si_code for undiagnosable fp exceptions")

from the arm64 tree and commit:

d84bb709aa4a ("signals, sparc: Add signal codes for ADI violations")

from the sparc-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
arch/x86/kernel/signal_compat.c +0 -0
diff --cc arch/x86/kernel/signal_compat.c
index d2884e951bb5,838a4dc90a6d..000000000000

arch/x86/kernel/signal_compat.c

Quoted 10 lines
arch/x86/kernel/signal_compat.c +1 -1
@@@ -26,8 -26,8 +26,8 @@@ static inline void signal_compat_build_
  	 * new fields are handled in copy_siginfo_to_user32()!
  	 */
  	BUILD_BUG_ON(NSIGILL  != 11);
 -	BUILD_BUG_ON(NSIGFPE  != 13);
 +	BUILD_BUG_ON(NSIGFPE  != 14);
- 	BUILD_BUG_ON(NSIGSEGV != 4);
+ 	BUILD_BUG_ON(NSIGSEGV != 7);
  	BUILD_BUG_ON(NSIGBUS  != 5);
  	BUILD_BUG_ON(NSIGTRAP != 4);
  	BUILD_BUG_ON(NSIGCHLD != 6);

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

Signature · 2 lines
Cheers,
Stephen Rothwell