Linux clock framework development
 help / color / mirror / Atom feed
From: Stephen Boyd <sboyd@kernel.org>
To: Yang Yingliang <yangyingliang@huawei.com>, linux-clk@vger.kernel.org
Cc: qinjian@cqplus1.com, mturquette@baylibre.com, yangyingliang@huawei.com
Subject: Re: [PATCH] clk: sp7021: fix return value check in sp7021_clk_probe()
Date: Sat, 16 Dec 2023 17:10:42 -0800	[thread overview]
Message-ID: <f7accf22e8af7444919baa6cabded4da.sboyd@kernel.org> (raw)
In-Reply-To: <20231128133016.2494699-1-yangyingliang@huawei.com>

Quoting Yang Yingliang (2023-11-28 05:30:16)
> devm_platform_ioremap_resource() never returns NULL pointer,
> it will return ERR_PTR() when it fails, so replace the check
> with IS_ERR().
> 
> Fixes: d54c1fd4a51e ("clk: Add Sunplus SP7021 clock driver")
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
> ---

Applied to clk-next

  reply	other threads:[~2023-12-17  1:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-28 13:30 [PATCH] clk: sp7021: fix return value check in sp7021_clk_probe() Yang Yingliang
2023-12-17  1:10 ` Stephen Boyd [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-11-29  8:39 Yang Yingliang

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=f7accf22e8af7444919baa6cabded4da.sboyd@kernel.org \
    --to=sboyd@kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=mturquette@baylibre.com \
    --cc=qinjian@cqplus1.com \
    --cc=yangyingliang@huawei.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