From: patchwork-bot+linux-remoteproc@kernel.org
To: Zhang Changzhong <zhangchangzhong@huawei.com>
Cc: linux-remoteproc@vger.kernel.org
Subject: Re: [PATCH] remoteproc: qcom: Fix potential NULL dereference in adsp_init_mmio()
Date: Thu, 10 Dec 2020 22:30:10 +0000 [thread overview]
Message-ID: <160763941076.7130.10148757617520446304.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <1607392460-20516-1-git-send-email-zhangchangzhong@huawei.com>
Hello:
This patch was applied to andersson/remoteproc.git (refs/heads/for-next):
On Tue, 8 Dec 2020 09:54:20 +0800 you wrote:
> platform_get_resource() may fail and in this case a NULL dereference
> will occur.
>
> Fix it to use devm_platform_ioremap_resource() instead of calling
> platform_get_resource() and devm_ioremap().
>
> This is detected by Coccinelle semantic patch.
>
> [...]
Here is the summary with links:
- remoteproc: qcom: Fix potential NULL dereference in adsp_init_mmio()
https://git.kernel.org/andersson/remoteproc/c/c3d4e5b12672
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2020-12-10 23:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-08 1:54 [PATCH] remoteproc: qcom: Fix potential NULL dereference in adsp_init_mmio() Zhang Changzhong
2020-12-10 22:30 ` patchwork-bot+linux-remoteproc [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=160763941076.7130.10148757617520446304.git-patchwork-notify@kernel.org \
--to=patchwork-bot+linux-remoteproc@kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=zhangchangzhong@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