Skip to contentSkip to conversation

linux-next: manual merge of the staging tree with the drm tree

PATCH Stephen Rothwell 1 participant 2 messages Jun 20, 2016 – Jul 25, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi Greg,

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

drivers/staging/android/sync.h

between commit:

76bf0db55439 ("dma-buf/fence: make fence context 64 bit v2")

from the drm tree and commits:

342952d3a5c4 ("staging/android: remove 'destroyed' member from struct sync_timeline") 1fe82e2e1486 ("staging/android: rename sync.h to sync_debug.h")

from the staging tree.

I fixed it up (I removed the file and applied the following fix patch) 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.

From: Stephen Rothwell <[email protected]>
Date: Mon, 20 Jun 2016 14:28:29 +1000
Subject: [PATCH] staging/android: merge fix up for sync.h renaming

---
 drivers/staging/android/sync_debug.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/android/sync_debug.h +2 -1
index 425ebc5c32aa..fab66396d421 100644
@@ -34,7 +34,8 @@ struct sync_timeline {
 	char			name[32];
 
 	/* protected by child_list_lock */
-	int			context, value;
+	u64			context;
+	int			value;
 
 	struct list_head	child_list_head;
 	spinlock_t		child_list_lock;
Signature · 5 lines
2.8.1

-- 
Cheers,
Stephen Rothwell
#1 lore raw

Hi all,

Quoted 48 lines · On Mon, 20 Jun 2016 14:33:53 +1000 Stephen Rothwell <[email protected]>…

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

drivers/staging/android/sync.h

between commit:

76bf0db55439 ("dma-buf/fence: make fence context 64 bit v2")

from the drm tree and commits:

342952d3a5c4 ("staging/android: remove 'destroyed' member from struct sync_timeline") 1fe82e2e1486 ("staging/android: rename sync.h to sync_debug.h")

from the staging tree.

I fixed it up (I removed the file and applied the following fix patch) 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.

From: Stephen Rothwell <[email protected]>
Date: Mon, 20 Jun 2016 14:28:29 +1000
Subject: [PATCH] staging/android: merge fix up for sync.h renaming

---
 drivers/staging/android/sync_debug.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/staging/android/sync_debug.h +2 -1
index 425ebc5c32aa..fab66396d421 100644
@@ -34,7 +34,8 @@ struct sync_timeline {
 	char			name[32];
 
 	/* protected by child_list_lock */
-	int			context, value;
+	u64			context;
+	int			value;
 
 	struct list_head	child_list_head;
 	spinlock_t		child_list_lock;
Signature · 1 line
2.8.1

Since Linus has merged the staging tree, this extra merge resolution will now be needed when the drm tree is merged with Linus' tree.

Signature · 2 lines
Cheers,
Stephen Rothwell