Thread (4 messages) 4 messages, 4 authors, 2024-08-16

Re: [PATCH] iommu/arm-smmu-v3: Fix a NULL vs IS_ERR() check

From: Jason Gunthorpe <jgg@ziepe.ca>
Date: 2024-08-15 12:06:47
Also in: kernel-janitors, linux-iommu, lkml

On Thu, Aug 15, 2024 at 02:25:00PM +0300, Dan Carpenter wrote:
The arm_smmu_domain_alloc() function returns error pointers on error.  It
doesn't return NULL.  Update the error checking to match.

Fixes: 52acd7d8a413 ("iommu/arm-smmu-v3: Add support for domain_alloc_user fn")
Signed-off-by: Dan Carpenter <redacted>
---
 drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Yeah, looks like this was missed during a rebase

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help