Re: linux-next: manual merge of the v4l-dvb tree with the origin tree
From: Geert Uytterhoeven
Date: Tue Dec 01 2026 - 05:33:16 EST
Hi Mark,
On Mon, 23 Nov 2026 14:29:19 +0000, Mark Brown wrote:
> Today's linux-next merge of the v4l-dvb tree got a conflict in:
>
> drivers/media/i2c/imx678.c
>
> between commit:
>
> 4dd10fbbeb9c3 ("treewide: Convert devm_kmalloc() family to the devm_kmall=
> oc_obj() family")
>
> From the origin tree and commit:
>
> 371d2cfa91880 ("media: imx678: Rework into a common Starvis 2 sensor driv=
> er.")
>
> 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.
>
> (Deleted the file)
Due to the rename drivers/media/i2c/{imx678.c => sony-starvis2.c}, the
change in 4dd10fbbeb9c3 to imx678.c should be applied to
sony-starvis2.c:
diff --git a/drivers/media/i2c/sony-starvis2.c b/drivers/media/i2c/sony-starvis2.c
index ec74b00b0f4e2134..cea5d8a6ad9f2885 100644
--- a/drivers/media/i2c/sony-starvis2.c
+++ b/drivers/media/i2c/sony-starvis2.c
@@ -2383,7 +2383,7 @@ static int starvis2_probe(struct i2c_client *client)
struct starvis2 *starvis2;
int ret, i;
- starvis2 = devm_kzalloc(&client->dev, sizeof(*starvis2), GFP_KERNEL);
+ starvis2 = devm_kzalloc_obj(&client->dev, *starvis2);
if (!starvis2)
return -ENOMEM;
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds