[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <68e519c6-8360-43c5-9364-69fadd56fa7c@app.fastmail.com>
Date: Mon, 04 Dec 2023 11:06:54 +0100
From: "Arnd Bergmann" <arnd@...db.de>
To: "Kunwu Chan" <chentao@...inos.cn>, "Lee Jones" <lee@...nel.org>,
s-anna@...com
Cc: kunwu.chan@...mail.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: syscon: Fix null pointer dereference in of_syscon_register
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@...inos.cn>
Reviewed-by: Arnd Bergmann <arnd@...db.de>
Powered by blists - more mailing lists