From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: Yang Yingliang <yangyingliang@huawei.com>,
linux-pm@vger.kernel.org, linux-mediatek@lists.infradead.org
Cc: sre@kernel.org, chiaen_wu@richtek.com
Subject: Re: [PATCH -next] power: supply: mt6370: Fix return value check in mt6370_chg_probe()
Date: Thu, 22 Sep 2022 09:25:07 +0200 [thread overview]
Message-ID: <eb797605-0310-1c8b-28ae-eabc17901e65@collabora.com> (raw)
In-Reply-To: <20220921152915.1506767-1-yangyingliang@huawei.com>
Il 21/09/22 17:29, Yang Yingliang ha scritto:
> If create_singlethread_workqueue() fails, it returns a null pointer,
> replace IS_ERR() check with NULL pointer check.
>
> Fixes: 233cb8a47d65 ("power: supply: mt6370: Add MediaTek MT6370 charger driver")
> Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
> Reviewed-by: ChiaEn Wu <chiaen_wu@richtek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
next prev parent reply other threads:[~2022-09-22 7:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-21 15:29 [PATCH -next] power: supply: mt6370: Fix return value check in mt6370_chg_probe() Yang Yingliang
2022-09-22 1:42 ` ChiaEn Wu
2022-09-22 7:25 ` AngeloGioacchino Del Regno [this message]
2022-10-01 20:22 ` Sebastian Reichel
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=eb797605-0310-1c8b-28ae-eabc17901e65@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=chiaen_wu@richtek.com \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-pm@vger.kernel.org \
--cc=sre@kernel.org \
--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