[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <769bba44-9426-4950-b6db-3f021501095e@linux.intel.com>
Date: Thu, 2 Jan 2025 11:11:15 +0800
From: Baolu Lu <baolu.lu@...ux.intel.com>
To: Kees Bakker <kees@...erbout.nl>, iommu@...ts.linux.dev,
Tian Kevin <kevin.tian@...el.com>, Joerg Roedel <joro@...tes.org>,
Will Deacon <will@...nel.org>, Robin Murphy <robin.murphy@....com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] iommu/vt-d: Avoid use of NULL after WARN_ON_ONCE
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@...erbout.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!
Powered by blists - more mailing lists