From: Baolu Lu <baolu.lu@linux.intel.com>
To: Kees Bakker <kees@ijzerbout.nl>,
iommu@lists.linux.dev, Tian Kevin <kevin.tian@intel.com>,
Joerg Roedel <joro@8bytes.org>, Will Deacon <will@kernel.org>,
Robin Murphy <robin.murphy@arm.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] iommu/vt-d: Avoid use of NULL after WARN_ON_ONCE
Date: Thu, 2 Jan 2025 11:11:15 +0800 [thread overview]
Message-ID: <769bba44-9426-4950-b6db-3f021501095e@linux.intel.com> (raw)
In-Reply-To: <20241218201048.E544818E57E@bout3.ijzerbout.nl>
On 11/16/24 02:46, Kees Bakker wrote:
> There is a WARN_ON_ONCE to catch an unlikely situation when
> domain_remove_dev_pasid can't find the `pasid`. In case it nevertheless
> happens we must avoid using a NULL pointer.
>
> Signed-off-by: Kees Bakker<kees@ijzerbout.nl>
> ---
> v1 -> v2: change subject to use 'iommu/vt-d:' prefix
>
> drivers/iommu/intel/iommu.c | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
Queued for v6.14. Thanks!
prev parent reply other threads:[~2025-01-02 3:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-15 18:46 Kees Bakker
2025-01-02 3:11 ` Baolu Lu [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=769bba44-9426-4950-b6db-3f021501095e@linux.intel.com \
--to=baolu.lu@linux.intel.com \
--cc=iommu@lists.linux.dev \
--cc=joro@8bytes.org \
--cc=kees@ijzerbout.nl \
--cc=kevin.tian@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=robin.murphy@arm.com \
--cc=will@kernel.org \
/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
all inboxes | Powered by JetHome®