All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: manual merge of the scsi-mkp tree with the origin tree
@ 2026-07-13 15:13 Mark Brown
  2026-07-16 10:13 ` Uwe Kleine-König
  0 siblings, 1 reply; 6+ messages in thread
From: Mark Brown @ 2026-07-13 15:13 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Linux Kernel Mailing List, Linux Next Mailing List,
	Uwe Kleine-König

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

Hi all,

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

  include/linux/mod_devicetable.h

between commit:

  ad428f5811bd7 ("mod_devicetable.h: Split into per subsystem headers")

from the origin tree and commit:

  e73ba3d6ed03b ("scsi: zorro: Simplify storing pointers in device id struct")

from the scsi-mkp 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 include/linux/mod_devicetable.h
index a397213bedace,2673a1bd82c45..0000000000000
--- a/include/linux/mod_devicetable.h
+++ b/include/linux/mod_devicetable.h
diff --git a/include/linux/device-id/zorro.h b/include/linux/device-id/zorro.h
index 5fdac81689839..26827b9b90b67 100644
--- a/include/linux/device-id/zorro.h
+++ b/include/linux/device-id/zorro.h
@@ -13,7 +13,11 @@ typedef unsigned long kernel_ulong_t;
 
 struct zorro_device_id {
 	__u32 id;			/* Device ID or ZORRO_WILDCARD */
-	kernel_ulong_t driver_data;	/* Data private to the driver */
+	union {
+		/* Data private to the driver */
+		kernel_ulong_t driver_data;
+		const void *driver_data_ptr;
+	};
 };
 
 #endif /* ifndef LINUX_DEVICE_ID_ZORRO_H */

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

^ permalink raw reply related	[flat|nested] 6+ messages in thread
* linux-next: manual merge of the scsi-mkp tree with the origin tree
@ 2026-03-30 19:58 Mark Brown
  0 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2026-03-30 19:58 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Linux Kernel Mailing List, Linux Next Mailing List, Ranjan Kumar

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

Hi all,

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

  drivers/scsi/mpi3mr/mpi3mr_fw.c

between commit:

  fa96392ebebc8 ("scsi: mpi3mr: Add NULL checks when resetting request and reply queues")

from the origin tree and commit:

  9d660e482071b ("scsi: mpi3mr: Add queue-full tracking for operational request queues")

from the scsi-mkp 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/scsi/mpi3mr/mpi3mr_fw.c
index c744210cc9018,01042eaf0dff4..0000000000000
--- a/drivers/scsi/mpi3mr/mpi3mr_fw.c
+++ b/drivers/scsi/mpi3mr/mpi3mr_fw.c
@@@ -4817,25 -4828,22 +4838,26 @@@ void mpi3mr_memset_buffers(struct mpi3m
  	}
  
  	for (i = 0; i < mrioc->num_queues; i++) {
 -		mrioc->op_reply_qinfo[i].qid = 0;
 -		mrioc->op_reply_qinfo[i].ci = 0;
 -		mrioc->op_reply_qinfo[i].num_replies = 0;
 -		mrioc->op_reply_qinfo[i].ephase = 0;
 -		atomic_set(&mrioc->op_reply_qinfo[i].pend_ios, 0);
 -		atomic_set(&mrioc->op_reply_qinfo[i].in_use, 0);
 -		mpi3mr_memset_op_reply_q_buffers(mrioc, i);
 +		if (mrioc->op_reply_qinfo) {
 +			mrioc->op_reply_qinfo[i].qid = 0;
 +			mrioc->op_reply_qinfo[i].ci = 0;
 +			mrioc->op_reply_qinfo[i].num_replies = 0;
 +			mrioc->op_reply_qinfo[i].ephase = 0;
 +			atomic_set(&mrioc->op_reply_qinfo[i].pend_ios, 0);
 +			atomic_set(&mrioc->op_reply_qinfo[i].in_use, 0);
 +			mpi3mr_memset_op_reply_q_buffers(mrioc, i);
 +		}
  
 -		mrioc->req_qinfo[i].ci = 0;
 -		mrioc->req_qinfo[i].pi = 0;
 -		mrioc->req_qinfo[i].num_requests = 0;
 -		mrioc->req_qinfo[i].qid = 0;
 -		mrioc->req_qinfo[i].reply_qid = 0;
 -		spin_lock_init(&mrioc->req_qinfo[i].q_lock);
 -		mrioc->req_qinfo[i].last_full_host_tag = 0;
 -		mpi3mr_memset_op_req_q_buffers(mrioc, i);
 +		if (mrioc->req_qinfo) {
 +			mrioc->req_qinfo[i].ci = 0;
 +			mrioc->req_qinfo[i].pi = 0;
 +			mrioc->req_qinfo[i].num_requests = 0;
 +			mrioc->req_qinfo[i].qid = 0;
 +			mrioc->req_qinfo[i].reply_qid = 0;
 +			spin_lock_init(&mrioc->req_qinfo[i].q_lock);
++			mrioc->req_qinfo[i].last_full_host_tag = 0;
 +			mpi3mr_memset_op_req_q_buffers(mrioc, i);
 +		}
  	}
  
  	atomic_set(&mrioc->pend_large_data_sz, 0);

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

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

end of thread, other threads:[~2026-07-16 13:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-13 15:13 linux-next: manual merge of the scsi-mkp tree with the origin tree Mark Brown
2026-07-16 10:13 ` Uwe Kleine-König
2026-07-16 13:03   ` Mark Brown
2026-07-16 13:09     ` Martin K. Petersen
2026-07-16 13:20       ` Mark Brown
  -- strict thread matches above, loose matches on Subject: below --
2026-03-30 19:58 Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.