From: "Duje Mihanović" <duje.mihanovic@skole.hr>
To: Dan Carpenter <dan.carpenter@linaro.org>
Cc: Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
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: Fri, 29 Nov 2024 18:05:37 +0100 [thread overview]
Message-ID: <2352491.ElGaqSPkdT@radijator> (raw)
In-Reply-To: <d7078eb7-a7d6-4753-b453-8fce15245c34@stanley.mountain>
On Wednesday 20 November 2024 18:18:38 Central European Standard Time Dan
Carpenter wrote:
> 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>
> ---
Acked-by: Duje Mihanović <duje.mihanovic@skole.hr>
Regards,
--
Duje
next prev parent reply other threads:[~2024-11-29 17:07 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ć [this message]
2024-12-03 20:02 ` Stephen Boyd
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=2352491.ElGaqSPkdT@radijator \
--to=duje.mihanovic@skole.hr \
--cc=dan.carpenter@linaro.org \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=sboyd@kernel.org \
/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.