linux-next: manual merge of the pci tree with the origin tree
From: Mark Brown
Date: Thu Dec 03 2026 - 09:54:42 EST
Hi all,
Today's linux-next merge of the pci tree got a conflict in:
drivers/pci/controller/dwc/pcie-qcom.c
between commit:
4dd10fbbeb9c3 ("treewide: Convert devm_kmalloc() family to the devm_kmalloc_obj() family")
from the origin tree and commit:
84b8d44c17e81 ("PCI: qcom: Implement shutdown() callback")
from the pci 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/pci/controller/dwc/pcie-qcom.c
index efad7c8d15792,5ab76b60cdc6d..0000000000000
--- a/drivers/pci/controller/dwc/pcie-qcom.c
+++ b/drivers/pci/controller/dwc/pcie-qcom.c
@@@ -2007,7 -2027,11 +2027,11 @@@ static int qcom_pcie_ecam_host_init(str
struct dw_pcie *pci;
int ret;
- pcie = devm_kzalloc(dev, sizeof(*pcie), GFP_KERNEL);
++ pcie = devm_kzalloc_obj(dev, *pcie);
+ if (!pcie)
+ return -ENOMEM;
+
- pci = devm_kzalloc(dev, sizeof(*pci), GFP_KERNEL);
+ pci = devm_kzalloc_obj(dev, *pci);
if (!pci)
return -ENOMEM;
Attachment:
signature.asc
Description: PGP signature