All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Markus Elfring <Markus.Elfring@web.de>
Cc: Ruihai Zhou <zhou.ruihai@qq.com>,
	kernel-janitors@vger.kernel.org,
	Markus Schneider-Pargmann <msp@baylibre.com>,
	Srinivas Kandagatla <srinivas.kandagatla@linaro.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] nvmem: core: Fix memleak in nvmem_add_cells_from_dt error path
Date: Wed, 11 Sep 2024 15:09:22 +0200	[thread overview]
Message-ID: <2024091112-emotion-unspoken-1d48@gregkh> (raw)
In-Reply-To: <aca066e5-8f8c-4c08-8c8c-8743e98ff7f7@web.de>

On Wed, Sep 11, 2024 at 03:05:20PM +0200, Markus Elfring wrote:
> …
> > is outside of the valid range, the info.name alloc by kasprintf will
> 
>                                                allocated by kasprintf()?
> 
> 
> > cause memleak. Just free before return from nvmem_add_cells_from_dt
> …
> 
>         a memory leak?                                               ()?
> 
> 
> How do you think about to increase the application of scope-based resource management?
> 
> Regards,
> Markus


Hi,

This is the semi-friendly patch-bot of Greg Kroah-Hartman.

Markus, you seem to have sent a nonsensical or otherwise pointless
review comment to a patch submission on a Linux kernel developer mailing
list.  I strongly suggest that you not do this anymore.  Please do not
bother developers who are actively working to produce patches and
features with comments that, in the end, are a waste of time.

Patch submitter, please ignore Markus's suggestion; you do not need to
follow it at all.  The person/bot/AI that sent it is being ignored by
almost all Linux kernel maintainers for having a persistent pattern of
behavior of producing distracting and pointless commentary, and
inability to adapt to feedback.  Please feel free to also ignore emails
from them.

thanks,

greg k-h's patch email bot

  reply	other threads:[~2024-09-11 13:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-11 12:06 [PATCH] nvmem: core: Fix memleak in nvmem_add_cells_from_dt error path Ruihai Zhou
2024-09-11 12:27 ` Greg KH
2024-09-11 13:05 ` Markus Elfring
2024-09-11 13:09   ` Greg Kroah-Hartman [this message]
2024-09-11 19:46 ` Markus Schneider-Pargmann

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=2024091112-emotion-unspoken-1d48@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=Markus.Elfring@web.de \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=msp@baylibre.com \
    --cc=srinivas.kandagatla@linaro.org \
    --cc=zhou.ruihai@qq.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.