linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the kspp tree with the drm-misc tree
@ 2020-07-03  4:35 Stephen Rothwell
  2020-08-05  4:10 ` Stephen Rothwell
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Rothwell @ 2020-07-03  4:35 UTC (permalink / raw)
  To: Kees Cook, Daniel Vetter, Intel Graphics, DRI
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Suraj Upadhyay

[-- Attachment #1: Type: text/plain, Size: 1192 bytes --]

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.

-- 
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))

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next: manual merge of the kspp tree with the drm-misc tree
  2020-07-03  4:35 linux-next: manual merge of the kspp tree with the drm-misc tree Stephen Rothwell
@ 2020-08-05  4:10 ` Stephen Rothwell
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2020-08-05  4:10 UTC (permalink / raw)
  To: DRI, Dave Airlie
  Cc: Kees Cook, Daniel Vetter, Intel Graphics,
	Linux Next Mailing List, Linux Kernel Mailing List,
	Suraj Upadhyay

[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]

Hi all,

On Fri, 3 Jul 2020 14:35:50 +1000 Stephen Rothwell <sfr@canb.auug.org.au> 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.
> 
> 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))

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

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* linux-next: manual merge of the kspp tree with the drm-misc tree
@ 2017-03-27  1:26 Stephen Rothwell
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2017-03-27  1:26 UTC (permalink / raw)
  To: Kees Cook, Daniel Vetter, Intel Graphics, DRI
  Cc: linux-next, linux-kernel, Emese Revfy

Hi Kees,

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

  include/drm/drm_drv.h

between commit:

  91faa0478b59 ("drm: drop extern from function decls")

from the drm-misc tree and commit:

  6bbaac116552 ("initify: Mark functions with the __nocapture attribute")

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.

-- 
Cheers,
Stephen Rothwell

diff --cc include/drm/drm_drv.h
index 53b98321df9b,ade960c65929..000000000000
--- a/include/drm/drm_drv.h
+++ b/include/drm/drm_drv.h
@@@ -510,19 -403,11 +510,19 @@@ struct drm_driver 
  	int num_ioctls;
  	const struct file_operations *fops;
  
 +	/* Everything below here is for legacy driver, never use! */
 +	/* private: */
 +
  	/* List of devices hanging off this driver with stealth attach. */
  	struct list_head legacy_dev_list;
 +	int (*firstopen) (struct drm_device *);
 +	int (*dma_ioctl) (struct drm_device *dev, void *data, struct drm_file *file_priv);
 +	int (*dma_quiescent) (struct drm_device *);
 +	int (*context_dtor) (struct drm_device *dev, int context);
 +	int dev_priv_size;
  };
  
- __printf(6, 7)
 -extern __printf(6, 7) __nocapture(4)
++__printf(6, 7) __nocapture(4)
  void drm_dev_printk(const struct device *dev, const char *level,
  		    unsigned int category, const char *function_name,
  		    const char *prefix, const char *format, ...);

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-05  4:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-03  4:35 linux-next: manual merge of the kspp tree with the drm-misc tree Stephen Rothwell
2020-08-05  4:10 ` Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2017-03-27  1:26 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).