iommu/iommupt: Fix build error in genericpt unit-tests
Joerg Roedel
maintainerPATCH 1/1 iommu/iommupt: Fix build error in genericpt unit-tests
From: Joerg Roedel <[email protected]>
Fix the include of iommu-pages.h in the KUnit tests for the IOMMU generic page-table code to make the tests compile again.
--- drivers/iommu/generic_pt/kunit_iommu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iommu/generic_pt/kunit_iommu.h +1 -1
@@ -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)
Signature · 1 line
2.51.0
Adding Amandeep Kaur
Quoted 7 lines · Joerg Roedel
From: Joerg Roedel <[email protected]>
Fix the include of
iommu-pages.hin the KUnit tests for the IOMMU generic page-table code to make the tests compile again.
Thx Joerg! I did test a equivalent change, so I guess this will be fine:
Maybe also add these:
Closes:
https://lore.kernel.org/all/[email protected]/
Ciao, Thorsten
Quoted 19 lines
Fixes 1dd4187f53c3 ("iommupt: Add a kunit test for Generic Page Table")Signed-off-by Joerg Roedel <[email protected]>--- drivers/iommu/generic_pt/kunit_iommu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/iommu/generic_pt/kunit_iommu.h +1
-1@@ -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)
Quoted 5 lines · Joerg Roedel
From: Joerg Roedel <[email protected]>
Fix the include of
iommu-pages.hin the KUnit tests for the IOMMU generic page-table code to make the tests compile again.
Quoted 7 lines
Reported-by Thorsten Leemhuis <[email protected]>Fixes 1dd4187f53c3 ("iommupt: Add a kunit test for Generic Page Table")Signed-off-by Joerg Roedel <[email protected]>--- drivers/iommu/generic_pt/kunit_iommu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Jason
Quoted 9 lines · Joerg Roedel
From: Joerg Roedel <[email protected]>
Fix the include of
iommu-pages.hin the KUnit tests for the IOMMU generic page-table code to make the tests compile again.Reported-by Thorsten Leemhuis <[email protected]>Fixes 1dd4187f53c3 ("iommupt: Add a kunit test for Generic Page Table")Signed-off-by Joerg Roedel <[email protected]>
-Vasant