From: Stephen Boyd <sboyd@kernel.org>
To: Charles Han <hanchunchao@inspur.com>,
duje.mihanovic@skole.hr, mturquette@baylibre.com
Cc: linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
Charles Han <hanchunchao@inspur.com>
Subject: Re: [PATCH] clk: mmp: Fix NULL vs IS_ERR() check
Date: Fri, 07 Mar 2025 11:05:10 -0800 [thread overview]
Message-ID: <5f8c330068fab1a2bc5c29e5bcd7b204.sboyd@kernel.org> (raw)
In-Reply-To: <20250307064708.209511-1-hanchunchao@inspur.com>
Quoting Charles Han (2025-03-06 22:47:07)
> The devm_kzalloc() function returns NULL on error, not error pointers.
> Fix the check.
>
> Fixes: 03437e857b0a ("clk: mmp: Add Marvell PXA1908 APMU driver")
> Signed-off-by: Charles Han <hanchunchao@inspur.com>
> ---
Applied to clk-next
prev parent reply other threads:[~2025-03-07 19:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-07 6:47 [PATCH] clk: mmp: Fix NULL vs IS_ERR() check Charles Han
2025-03-07 11:18 ` Krzysztof Kozlowski
2025-03-07 19:05 ` 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=5f8c330068fab1a2bc5c29e5bcd7b204.sboyd@kernel.org \
--to=sboyd@kernel.org \
--cc=duje.mihanovic@skole.hr \
--cc=hanchunchao@inspur.com \
--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