Skip to contentSkip to conversation

linux-next: manual merge of the akpm-current tree with the kspp tree

DISCUSSION Stephen Rothwell 1 participant 2 messages Jun 20, 2017 – Jul 3, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

include/linux/sem.h

between commit:

1a12979f61e4 ("randstruct: Mark various structs for randomization")

from the kspp tree and commit:

337e62a32a54 ("ipc/sem.c: remove sem_base, embed struct sem")

from the akpm-current 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 · 17 lines
Cheers,
Stephen Rothwell

diff --cc include/linux/sem.h
index 23bcbdfad4a6,be5cf2ea14ad..000000000000
--- a/include/linux/sem.h
+++ b/include/linux/sem.h
@@@ -21,7 -39,9 +39,9 @@@ struct sem_array 
  	int			sem_nsems;	/* no. of semaphores in array */
  	int			complex_count;	/* pending complex operations */
  	unsigned int		use_global_lock;/* >0: global lock required */
+ 
+ 	struct sem		sems[];
 -};
 +} __randomize_layout;
  
  #ifdef CONFIG_SYSVIPC
#1 lore raw

Hi all,

With the merge window opening, just a reminder that this conflict still exists.

Quoted 41 lines · On Tue, 20 Jun 2017 15:15:49 +1000 Stephen Rothwell <[email protected]>…

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

include/linux/sem.h

between commit:

1a12979f61e4 ("randstruct: Mark various structs for randomization")

from the kspp tree and commit:

337e62a32a54 ("ipc/sem.c: remove sem_base, embed struct sem")

from the akpm-current 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
include/linux/sem.h +2 -0
diff --cc include/linux/sem.h
index 23bcbdfad4a6,be5cf2ea14ad..000000000000
@@@ -21,7 -39,9 +39,9 @@@ struct sem_array 
  	int			sem_nsems;	/* no. of semaphores in array */
  	int			complex_count;	/* pending complex operations */
  	unsigned int		use_global_lock;/* >0: global lock required */
+ 
+ 	struct sem		sems[];
 -};
 +} __randomize_layout;
 
  #ifdef CONFIG_SYSVIPC
Signature · 2 lines
Cheers,
Stephen Rothwell