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

Stephen Rothwell sfr at canb.auug.org.au
Tue Aug 27 01:16:47 UTC 2024


Hi all,

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

  fs/pstore/platform.c

between commit:

  1bf8012fc699 ("pstore: replace spinlock_t by raw_spinlock_t")

from the pstore tree and commit:

  e1a261ba599e ("printk: Add a short description string to kmsg_dump()")

from the drm 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 fs/pstore/platform.c
index 84719e2bcbc4,9c6b7c97fa3c..000000000000
--- a/fs/pstore/platform.c
+++ b/fs/pstore/platform.c
@@@ -285,10 -285,10 +285,10 @@@ static void pstore_dump(struct kmsg_dum
  	int		saved_ret = 0;
  	int		ret;
  
- 	why = kmsg_dump_reason_str(reason);
+ 	why = kmsg_dump_reason_str(detail->reason);
  
- 	if (pstore_cannot_block_path(reason)) {
+ 	if (pstore_cannot_block_path(detail->reason)) {
 -		if (!spin_trylock_irqsave(&psinfo->buf_lock, flags)) {
 +		if (!raw_spin_trylock_irqsave(&psinfo->buf_lock, flags)) {
  			pr_err("dump skipped in %s path because of concurrent dump\n",
  					in_nmi() ? "NMI" : why);
  			return;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20240827/a3ac7e0f/attachment-0001.sig>


More information about the dri-devel mailing list