linux-next: manual merge of the v4l-dvb tree with the origin tree

From: Mark Brown

Date: Tue Dec 01 2026 - 09:05:23 EST


Hi all,

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

drivers/media/platform/verisilicon/hantro_drv.c

between commit:

4dd10fbbeb9c3 ("treewide: Convert devm_kmalloc() family to the devm_kmalloc_obj() family")

from the origin tree and commit:

bab651b8635cb ("media: verisilicon: Remove useless internal fields")

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/verisilicon/hantro_drv.c
index 3734ea701145a,5c962847fdf5e..0000000000000
--- a/drivers/media/platform/verisilicon/hantro_drv.c
+++ b/drivers/media/platform/verisilicon/hantro_drv.c
@@@ -1073,10 -1101,9 +1101,9 @@@ static int hantro_probe(struct platform
{
const struct of_device_id *match;
struct hantro_dev *vpu;
- int num_bases;
int i, ret;

- vpu = devm_kzalloc(&pdev->dev, sizeof(*vpu), GFP_KERNEL);
+ vpu = devm_kzalloc_obj(&pdev->dev, *vpu);
if (!vpu)
return -ENOMEM;

@@@ -1092,19 -1119,10 +1119,10 @@@
if (ret)
return ret;

- /*
- * Support for nxp,imx8mq-vpu is kept for backwards compatibility
- * but it's deprecated. Please update your DTS file to use
- * nxp,imx8mq-vpu-g1 or nxp,imx8mq-vpu-g2 instead.
- */
- if (of_device_is_compatible(pdev->dev.of_node, "nxp,imx8mq-vpu"))
- dev_warn(&pdev->dev, "%s compatible is deprecated\n",
- match->compatible);
-
INIT_DELAYED_WORK(&vpu->watchdog_work, hantro_watchdog);

- vpu->clocks = devm_kcalloc(&pdev->dev, vpu->variant->num_clocks,
- sizeof(*vpu->clocks), GFP_KERNEL);
+ vpu->clocks = devm_kzalloc_objs(&pdev->dev, *vpu->clocks,
+ vpu->variant->num_clocks);
if (!vpu->clocks)
return -ENOMEM;

Attachment: signature.asc
Description: PGP signature