From: Stephen Boyd <sboyd@kernel.org>
To: "Dan Carpenter" <dan.carpenter@linaro.org>,
"Duje Mihanović" <duje.mihanovic@skole.hr>
Cc: Michael Turquette <mturquette@baylibre.com>,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org
Subject: Re: [PATCH next] clk: mmp: pxa1908-apbc: Fix NULL vs IS_ERR() check in probe
Date: Tue, 03 Dec 2024 12:02:36 -0800 [thread overview]
Message-ID: <afb3fce310d7a4bd1960cbabfc355d32.sboyd@kernel.org> (raw)
In-Reply-To: <d7078eb7-a7d6-4753-b453-8fce15245c34@stanley.mountain>
Quoting Dan Carpenter (2024-11-20 09:18:38)
> The devm_kzalloc() function returns NULL on error, not error pointers.
> Fix the check.
>
> Fixes: 51ce55919273 ("clk: mmp: Add Marvell PXA1908 APBC driver")
> Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
> ---
Applied to clk-next
prev parent reply other threads:[~2024-12-03 20:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-20 17:18 [PATCH next] clk: mmp: pxa1908-apbc: Fix NULL vs IS_ERR() check in probe Dan Carpenter
2024-11-29 17:05 ` Duje Mihanović
2024-12-03 20:02 ` Stephen Boyd [this message]
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=afb3fce310d7a4bd1960cbabfc355d32.sboyd@kernel.org \
--to=sboyd@kernel.org \
--cc=dan.carpenter@linaro.org \
--cc=duje.mihanovic@skole.hr \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.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