[PATCH v2 1/2] iommu/vt-d: Change return type of dmar_insert_one_dev_info()

2022-04-16 Thread Lu Baolu
The dmar_insert_one_dev_info() returns the pass-in domain on success and NULL on failure. This doesn't make much sense. Change it to an integer. Signed-off-by: Lu Baolu --- drivers/iommu/intel/iommu.c | 27 +++ 1 file changed, 11 insertions(+), 16 deletions(-) diff --git

Re: [PATCH v2 1/2] iommu/vt-d: Change return type of dmar_insert_one_dev_info()

2022-04-18 Thread Christoph Hellwig
Looks good: Reviewed-by: Christoph Hellwig ___ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu