[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZdmJQPx7-q0QY7=TpSDxr0W1md-sGwbKYc_kbCdEmY4w@mail.gmail.com>
Date: Mon, 13 Nov 2023 15:12:56 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Chen Ni <nichen@...as.ac.cn>
Cc: mcoquelin.stm32@...il.com, alexandre.torgue@...s.st.com,
robh@...nel.org, geert+renesas@...der.be, jernej.skrabec@...il.com,
valentin.caron@...s.st.com, bero@...libre.com,
dario.binacchi@...rulasolutions.com, linux-gpio@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] pinctrl: stm32: Add check for devm_kcalloc
On Tue, Oct 31, 2023 at 9:09 AM Chen Ni <nichen@...as.ac.cn> wrote:
> Add check for the return value of devm_kcalloc() and return the error
> if it fails in order to avoid NULL pointer dereference.
>
> Fixes: 32c170ff15b0 ("pinctrl: stm32: set default gpio line names using pin names")
> Signed-off-by: Chen Ni <nichen@...as.ac.cn>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists