From: Joerg Roedel <joro@8bytes.org>
To: Tang Bin <tangbin@cmss.chinamobile.com>
Cc: agross@kernel.org, bjorn.andersson@linaro.org,
robdclark@gmail.com, linux-arm-msm@vger.kernel.org,
iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2]iommu/qcom:fix local_base status check
Date: Fri, 1 May 2020 13:37:45 +0200 [thread overview]
Message-ID: <20200501113745.GE18423@8bytes.org> (raw)
In-Reply-To: <20200418134703.1760-1-tangbin@cmss.chinamobile.com>
On Sat, Apr 18, 2020 at 09:47:03PM +0800, Tang Bin wrote:
> The function qcom_iommu_device_probe() does not perform sufficient
> error checking after executing devm_ioremap_resource(), which can
> result in crashes if a critical error path is encountered.
>
> Fixes: 0ae349a0f33f ("iommu/qcom: Add qcom_iommu")
>
> Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
> ---
> v2:
> - fix commit message and add fixed tag
> ---
> drivers/iommu/qcom_iommu.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Applied for v5.7, thanks.
WARNING: multiple messages have this Message-ID (diff)
From: Joerg Roedel <joro@8bytes.org>
To: Tang Bin <tangbin@cmss.chinamobile.com>
Cc: linux-arm-msm@vger.kernel.org, iommu@lists.linux-foundation.org,
linux-kernel@vger.kernel.org, agross@kernel.org,
bjorn.andersson@linaro.org
Subject: Re: [PATCH v2]iommu/qcom:fix local_base status check
Date: Fri, 1 May 2020 13:37:45 +0200 [thread overview]
Message-ID: <20200501113745.GE18423@8bytes.org> (raw)
In-Reply-To: <20200418134703.1760-1-tangbin@cmss.chinamobile.com>
On Sat, Apr 18, 2020 at 09:47:03PM +0800, Tang Bin wrote:
> The function qcom_iommu_device_probe() does not perform sufficient
> error checking after executing devm_ioremap_resource(), which can
> result in crashes if a critical error path is encountered.
>
> Fixes: 0ae349a0f33f ("iommu/qcom: Add qcom_iommu")
>
> Signed-off-by: Tang Bin <tangbin@cmss.chinamobile.com>
> ---
> v2:
> - fix commit message and add fixed tag
> ---
> drivers/iommu/qcom_iommu.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Applied for v5.7, thanks.
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
next prev parent reply other threads:[~2020-05-01 11:37 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-18 13:47 [PATCH v2]iommu/qcom:fix local_base status check Tang Bin
2020-04-18 13:47 ` Tang Bin
2020-04-20 4:52 ` Bjorn Andersson
2020-04-20 4:52 ` Bjorn Andersson
2020-05-01 11:37 ` Joerg Roedel [this message]
2020-05-01 11:37 ` Joerg Roedel
2020-05-01 13:54 ` Tang Bin
2020-05-01 13:54 ` Tang Bin
-- strict thread matches above, loose matches on Subject: below --
2020-04-03 17:20 [PATCH v2] iommu/qcom: Fix " Markus Elfring
2020-04-03 17:20 ` Markus Elfring
2020-04-03 17:20 ` Markus Elfring
2020-04-03 17:45 ` Markus Elfring
2020-04-03 17:45 ` Markus Elfring
2020-04-03 17:45 ` Markus Elfring
2020-04-03 17:45 ` Markus Elfring
2020-04-19 12:32 ` Markus Elfring
2020-04-19 12:32 ` Markus Elfring
2020-04-19 12:32 ` Markus Elfring
2020-04-19 13:10 ` Markus Elfring
2020-04-19 13:10 ` Markus Elfring
2020-04-19 13:10 ` Markus Elfring
2020-04-02 6:03 [PATCH v2]iommu/qcom:fix " Tang Bin
2020-04-02 6:15 ` Bjorn Andersson
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=20200501113745.GE18423@8bytes.org \
--to=joro@8bytes.org \
--cc=agross@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=iommu@lists.linux-foundation.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robdclark@gmail.com \
--cc=tangbin@cmss.chinamobile.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.