diff options
| author | Joerg Roedel <joerg.roedel@amd.com> | 2025-11-07 11:47:01 +0100 |
|---|---|---|
| committer | Joerg Roedel <joerg.roedel@amd.com> | 2025-11-07 16:06:19 +0100 |
| commit | 9ad648017b1813a05c4ce899e5e454ec3adb1dfe (patch) | |
| tree | a9ae712928094e47fc0ee98f24153b63a93ab590 | |
| parent | 5cb637d9425d7c6282b9f7470d273e4ecac6efb8 (diff) | |
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 <linux@leemhuis.info>
Closes: https://lore.kernel.org/all/9844d4cb-f517-478b-9911-b6dc1a963b8e@leemhuis.info/
Reported-by: "Longia, Amandeep Kaur" <amandeepkaur.longia@amd.com>
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 <jgg@nvidia.com>
Tested-by: Thorsten Leemhuis <linux@leemhuis.info>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
| -rw-r--r-- | drivers/iommu/generic_pt/kunit_iommu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/generic_pt/kunit_iommu.h b/drivers/iommu/generic_pt/kunit_iommu.h index 5d4f269627d5..22c9e4c4dd97 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 <kunit/device.h> #include <kunit/test.h> -#include <../../iommu-pages.h> +#include "../iommu-pages.h" #include "pt_iter.h" #define pt_iommu_table_cfg CONCATENATE(pt_iommu_table, _cfg) |
