linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: manual merge of the chrome-platform tree with the pstore tree
@ 2020-05-07  4:55 Stephen Rothwell
  2020-05-07 17:56 ` Kees Cook
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Rothwell @ 2020-05-07  4:55 UTC (permalink / raw)
  To: Benson Leung, Guenter Roeck, Enric Balletbo i Serra,
	Dmitry Torokhov, Kees Cook
  Cc: Linux Next Mailing List, Linux Kernel Mailing List,
	Pavel Tatashin, Sarthak Kukreti

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

Hi all,

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

  drivers/platform/chrome/chromeos_pstore.c

between commit:

  7bddec15c574 ("pstore/ram: Introduce max_reason and convert dump_oops")

from the pstore tree and commit:

  1c7c51347f2e ("platform/chrome: chromeos_pstore: set user space log size")

from the chrome-platform 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/platform/chrome/chromeos_pstore.c
index fa51153688b4,82dea8cb5da1..000000000000
--- a/drivers/platform/chrome/chromeos_pstore.c
+++ b/drivers/platform/chrome/chromeos_pstore.c
@@@ -57,7 -57,8 +57,8 @@@ static struct ramoops_platform_data chr
  	.record_size	= 0x40000,
  	.console_size	= 0x20000,
  	.ftrace_size	= 0x20000,
+ 	.pmsg_size	= 0x20000,
 -	.dump_oops	= 1,
 +	.max_reason	= KMSG_DUMP_OOPS,
  };
  
  static struct platform_device chromeos_ramoops = {

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

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

* Re: linux-next: manual merge of the chrome-platform tree with the pstore tree
  2020-05-07  4:55 linux-next: manual merge of the chrome-platform tree with the pstore tree Stephen Rothwell
@ 2020-05-07 17:56 ` Kees Cook
  0 siblings, 0 replies; 2+ messages in thread
From: Kees Cook @ 2020-05-07 17:56 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Benson Leung, Guenter Roeck, Enric Balletbo i Serra,
	Dmitry Torokhov, Linux Next Mailing List,
	Linux Kernel Mailing List, Pavel Tatashin, Sarthak Kukreti

On Thu, May 07, 2020 at 02:55:47PM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> Today's linux-next merge of the chrome-platform tree got a conflict in:
> 
>   drivers/platform/chrome/chromeos_pstore.c
> 
> between commit:
> 
>   7bddec15c574 ("pstore/ram: Introduce max_reason and convert dump_oops")
> 
> from the pstore tree and commit:
> 
>   1c7c51347f2e ("platform/chrome: chromeos_pstore: set user space log size")
> 
> from the chrome-platform 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/platform/chrome/chromeos_pstore.c
> index fa51153688b4,82dea8cb5da1..000000000000
> --- a/drivers/platform/chrome/chromeos_pstore.c
> +++ b/drivers/platform/chrome/chromeos_pstore.c
> @@@ -57,7 -57,8 +57,8 @@@ static struct ramoops_platform_data chr
>   	.record_size	= 0x40000,
>   	.console_size	= 0x20000,
>   	.ftrace_size	= 0x20000,
> + 	.pmsg_size	= 0x20000,
>  -	.dump_oops	= 1,
>  +	.max_reason	= KMSG_DUMP_OOPS,
>   };
>   
>   static struct platform_device chromeos_ramoops = {

Thanks! Yes, that looks correct.

-- 
Kees Cook

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

end of thread, other threads:[~2020-05-07 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-07  4:55 linux-next: manual merge of the chrome-platform tree with the pstore tree Stephen Rothwell
2020-05-07 17:56 ` Kees Cook

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