mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Arnd Bergmann" <arnd@arndb.de>
To: "Kunwu Chan" <chentao@kylinos.cn>, "Lee Jones" <lee@kernel.org>,
	s-anna@ti.com
Cc: kunwu.chan@hotmail.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mfd: syscon: Fix null pointer dereference in of_syscon_register
Date: Mon, 04 Dec 2023 11:06:54 +0100	[thread overview]
Message-ID: <68e519c6-8360-43c5-9364-69fadd56fa7c@app.fastmail.com> (raw)
In-Reply-To: <20231204092443.2462115-1-chentao@kylinos.cn>

On Mon, Dec 4, 2023, at 10:24, Kunwu Chan wrote:
> kasprintf() returns a pointer to dynamically allocated memory
> which can be NULL upon failure.
>
> Fixes: e15d7f2b81d2 ("mfd: syscon: Use a unique name with regmap_config")
> Signed-off-by: Kunwu Chan <chentao@kylinos.cn>

Reviewed-by: Arnd Bergmann <arnd@arndb.de>

  reply	other threads:[~2023-12-04 10:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-04  9:24 Kunwu Chan
2023-12-04 10:06 ` Arnd Bergmann [this message]
2023-12-07 16:05 ` (subset) " Lee Jones

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=68e519c6-8360-43c5-9364-69fadd56fa7c@app.fastmail.com \
    --to=arnd@arndb.de \
    --cc=chentao@kylinos.cn \
    --cc=kunwu.chan@hotmail.com \
    --cc=lee@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=s-anna@ti.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 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®