linux-next: manual merge of the scsi-mkp tree with the scsi tree

From: Mark Brown

Date: Mon Sep 28 2026 - 10:54:57 EST


Hi all,

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

drivers/scsi/mpi3mr/mpi3mr_transport.c

between commit:

29e3f0856e854 ("scsi: mpi3mr: Fix SAS port allocation and registration error handling")

from the scsi tree and commit:

0b5b2fb484f3b ("Merge tag 'v7.3-rc2' into 7.4/scsi-staging")

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 --combined drivers/scsi/mpi3mr/mpi3mr_transport.c
index a3412cd4ca5bc,8ee7ce1480c8d..0000000000000
--- a/drivers/scsi/mpi3mr/mpi3mr_transport.c
+++ b/drivers/scsi/mpi3mr/mpi3mr_transport.c
@@@ -1567,10 -1567,12 +1567,10 @@@ static struct mpi3mr_sas_port *mpi3mr_s
}

list_for_each_entry_safe(mr_sas_phy, next, &mr_sas_port->phy_list,
- port_siblings) {
+ port_siblings) {
mr_sas_phy->phy_belongs_to_port = 0;
list_del(&mr_sas_phy->port_siblings);
}
- if (tgtdev)
- mpi3mr_tgtdev_put(tgtdev);
kfree(mr_sas_port);
return NULL;
}

Attachment: signature.asc
Description: PGP signature