mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Lee Jones <lee@kernel.org>
Cc: Kees Cook <kees@kernel.org>, Kees Cook <kees+treewide@kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Next Mailing List <linux-next@vger.kernel.org>,
	Wentao Liang <vulab@iscas.ac.cn>
Subject: Re: linux-next: manual merge of the leds-lj tree with the origin tree
Date: Fri, 27 Nov 2026 15:10:36 +0000	[thread overview]
Message-ID: <c05653b5-c8bd-46ca-aaf5-281e8d74f1e6@sirena.org.uk> (raw)
In-Reply-To: <20261127132946.GT38590@joneslee-macbookpro.roam.internal>

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

On Fri, Nov 27, 2026 at 01:29:46PM +0000, Lee Jones wrote:
> On Fri, 20 Nov 2026, Mark Brown wrote:

> >  +	leds = devm_kzalloc_objs(dev, *leds, num_leds);
> > - 	if (!leds) {
> > - 		ret = -ENOMEM;
> > - 		goto put_device;
> > - 	}
> > + 	leds = devm_kcalloc(dev, num_leds, sizeof(*leds), GFP_KERNEL);

> Doesn't this now reallocate leds?

Looks like it.  It'll go away if you merge up Linus' tree and stop
getting these noisy commits, or if you send me a patch I can apply it as
a fixup.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2026-11-27 15:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20 15:41 Mark Brown
2026-11-27 13:29 ` Lee Jones
2026-11-27 15:10   ` Mark Brown [this message]
2026-11-27 15:01 Mark Brown
2026-11-27 15:01 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=c05653b5-c8bd-46ca-aaf5-281e8d74f1e6@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=kees+treewide@kernel.org \
    --cc=kees@kernel.org \
    --cc=lee@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=vulab@iscas.ac.cn \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®