From: Joerg Roedel Date: Fri, 7 Nov 2025 10:47:01 +0000 (+0100) Subject: iommu/iommupt: Fix build error in genericpt unit-tests X-Git-Tag: v6.19-rc1~133^2^8~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ad648017b1813a05c4ce899e5e454ec3adb1dfe;p=thirdparty%2Fkernel%2Flinux.git iommu/iommupt: Fix build error in genericpt unit-tests Fix the include of iommu-pages.h in the KUnit tests for the IOMMU generic page-table code to make the tests compile again. Reported-by: Thorsten Leemhuis Closes: https://lore.kernel.org/all/9844d4cb-f517-478b-9911-b6dc1a963b8e@leemhuis.info/ Reported-by: "Longia, Amandeep Kaur" Closes: https://lore.kernel.org/all/e641c955-25ad-4eae-b3fe-4392966cf768@amd.com/ Fixes: 1dd4187f53c3 ("iommupt: Add a kunit test for Generic Page Table") Reviewed-by: Jason Gunthorpe Tested-by: Thorsten Leemhuis Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/generic_pt/kunit_iommu.h b/drivers/iommu/generic_pt/kunit_iommu.h index 5d4f269627d57..22c9e4c4dd97c 100644 --- a/drivers/iommu/generic_pt/kunit_iommu.h +++ b/drivers/iommu/generic_pt/kunit_iommu.h @@ -8,7 +8,7 @@ #define GENERIC_PT_KUNIT 1 #include #include -#include <../../iommu-pages.h> +#include "../iommu-pages.h" #include "pt_iter.h" #define pt_iommu_table_cfg CONCATENATE(pt_iommu_table, _cfg)