Hi all, Today's linux-next merge of the v4l-dvb tree got a conflict in: drivers/media/platform/qcom/camss/camss.c between commit: 4dd10fbbeb9c3 ("treewide: Convert devm_kmalloc() family to the devm_kmalloc_obj() family") from the origin tree and commit: 86bb3fa45b272 ("media: qcom: camss: Skip TPG if its registers are not described") from the v4l-dvb 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/media/platform/qcom/camss/camss.c index f8e5cf9f3ff09,0404f95a35fe6..0000000000000 --- a/drivers/media/platform/qcom/camss/camss.c +++ b/drivers/media/platform/qcom/camss/camss.c @@@ -5432,9 -6026,12 +6024,12 @@@ static int camss_probe(struct platform_ if (!camss->csiphy) return -ENOMEM; - if (camss->res->tpg_num > 0) { + /* TPG register spaces may be not described in old device trees */ + if (camss->res->tpg_num > 0 && + platform_get_resource_byname(pdev, IORESOURCE_MEM, + camss->res->tpg_res[0].reg[0])) { - camss->tpg = devm_kcalloc(dev, camss->res->tpg_num, - sizeof(*camss->tpg), GFP_KERNEL); + camss->tpg = devm_kzalloc_objs(dev, *camss->tpg, + camss->res->tpg_num); if (!camss->tpg) return -ENOMEM; }