From: Wolfram Sang <wsa@kernel.org>
To: Wang Xiaojun <wangxiaojun11@huawei.com>
Cc: kblaiech@nvidia.com, linux-i2c@vger.kernel.org
Subject: Re: [PATCH v2] i2c: mlxbf: Fix the return check of devm_ioremap and ioremap
Date: Sat, 5 Dec 2020 15:12:27 +0100 [thread overview]
Message-ID: <20201205141227.GB5761@kunai> (raw)
In-Reply-To: <20201203014647.3468430-1-wangxiaojun11@huawei.com>
[-- Attachment #1: Type: text/plain, Size: 291 bytes --]
On Wed, Dec 02, 2020 at 08:46:47PM -0500, Wang Xiaojun wrote:
> devm_ioremap and ioremap may return NULL which cannot be checked
> by IS_ERR.
>
> Signed-off-by: Wang Xiaojun <wangxiaojun11@huawei.com>
> Reported-by: Hulk Robot <hulkci@huawei.com>
Applied to for-current, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
prev parent reply other threads:[~2020-12-05 18:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-03 1:46 [PATCH v2] i2c: mlxbf: Fix the return check of devm_ioremap and ioremap Wang Xiaojun
2020-12-05 14:12 ` Wolfram Sang [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=20201205141227.GB5761@kunai \
--to=wsa@kernel.org \
--cc=kblaiech@nvidia.com \
--cc=linux-i2c@vger.kernel.org \
--cc=wangxiaojun11@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