All of lore.kernel.org
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@kernel.org>
To: Mark Brown <broonie@kernel.org>
Cc: Dave Stevenson <dave.stevenson@raspberrypi.com>,
	Kees Cook <kees+treewide@kernel.org>, Kees Cook <kees@kernel.org>,
	linux-kernel@vger.kernel.org, linux-next@vger.kernel.org,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Sakari Ailus <sakari.ailus@linux.intel.com>
Subject: Re: linux-next: manual merge of the v4l-dvb tree with the origin tree
Date: Tue,  1 Dec 2026 11:32:56 +0100	[thread overview]
Message-ID: <20261201103256.2439448-1-geert@kernel.org> (raw)
In-Reply-To: <awRNvzJzGfwCbnm_@sirena.org.uk>

	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@linux-m68k.org

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

  reply	other threads:[~2026-12-01 10:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 14:29 linux-next: manual merge of the v4l-dvb tree with the origin tree Mark Brown
2026-12-01 10:32 ` Geert Uytterhoeven [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-12-01 14:05 Mark Brown
2026-11-30 15:31 Mark Brown
2026-11-16 16:36 Mark Brown
2026-11-12 13:58 Mark Brown
2026-06-03 13:33 Mark Brown
2026-06-02 16:16 Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261201103256.2439448-1-geert@kernel.org \
    --to=geert@kernel.org \
    --cc=broonie@kernel.org \
    --cc=dave.stevenson@raspberrypi.com \
    --cc=kees+treewide@kernel.org \
    --cc=kees@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=sakari.ailus@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.