Skip to contentSkip to conversation

linux-next: manual merge of the kspp tree with the drm-misc tree

DISCUSSION Stephen Rothwell 1 participant 2 messages Jul 3, 2020 – Aug 5, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/gpu/drm/drm_edid.c

between commit:

948de84233d3 ("drm : Insert blank lines after declarations.")

from the drm-misc tree and commit:

80b89ab785a4 ("treewide: Remove uninitialized_var() usage")

from the kspp 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 drivers/gpu/drm/drm_edid.c
index 252e89cb54a3,b98fa573e706..000000000000
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@@ -3095,8 -3051,7 +3095,8 @@@ static int drm_cvt_modes(struct drm_con
  	const u8 empty[3] = { 0, 0, 0 };
  
  	for (i = 0; i < 4; i++) {
- 		int uninitialized_var(width), height;
+ 		int width, height;
 +
  		cvt = &(timing->data.other_data.data.cvt[i]);
  
  		if (!memcmp(cvt->code, empty, 3))
#1 lore raw

Hi all,

Quoted 27 lines · On Fri, 3 Jul 2020 14:35:50 +1000 Stephen Rothwell <[email protected]> wrote:

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

drivers/gpu/drm/drm_edid.c

between commit:

948de84233d3 ("drm : Insert blank lines after declarations.")

from the drm-misc tree and commit:

80b89ab785a4 ("treewide: Remove uninitialized_var() usage")

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

drivers/gpu/drm/drm_edid.c +0 -0
diff --cc drivers/gpu/drm/drm_edid.c
index 252e89cb54a3,b98fa573e706..000000000000

drivers/gpu/drm/drm_edid.c

Quoted 9 lines
drivers/gpu/drm/drm_edid.c +1 -1
@@@ -3095,8 -3051,7 +3095,8 @@@ static int drm_cvt_modes(struct drm_con
  	const u8 empty[3] = { 0, 0, 0 };
 
  	for (i = 0; i < 4; i++) {
- 		int uninitialized_var(width), height;
+ 		int width, height;
 +
  		cvt = &(timing->data.other_data.data.cvt[i]);
 
  		if (!memcmp(cvt->code, empty, 3))

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

Signature · 2 lines
Cheers,
Stephen Rothwell